How to get to Vilassar de Mar from Barcelona airport?

Hey there

I would like to know how to get to Vilassar de Mar from Barcelona airport? We would prefer to take train/ buses if there's any. Or how much it is by taxi? And how long does it take?

thank you for advance for your reply.

Anita