Sharing a ride would make sense b/c it could be pretty expensive to get to Dedham from the airport
I live in the area and have a couple of other options. If you want to try public transportation there is a commuter train from South Station in Boston that has a stop walking distance to the hotel. You would have to either take the silver line to South station from the airport (which is actually a bus) or get an uber/lyft/taxi from the airport to south station. It could be tricky depending on when you arrive but if you come at the right time (around rush hour) the train could be a good option.
Another option is to take the logan express bus from the airport to Braintree then get an uber/cab/lyft from Braintree to Dedham (Braintree is about a 15min ride from the hotel)