Trunk based bike racks don't work well on the S since its a "hatchback" /sport back. There's no lip to grab on to.
I would highly recommend investing in a trailer hitch and hitch rack for an e bike as even normal truck based systems (if they were compatible) bounce around too much.