The distance between Puerto Vallarta and Sayulita is 40km, around a 1 hour drive. There is a bus connection, with buses leaving every 20 minutes, taking 1-1.5 hours to reach Sayulita. Taking a bus is definitely the cheapest option, otherwise you could take a taxi or an Uber.