The stellar-to-halo mass relation over the past 12 Gyr | Synapse