If you want a cheap bike rack I have this hitch mount one:
https://amzn.to/45KEJk6 for $190. It's good for 140lbs total. If you only need one bike, you can leave off one pair of the wheel carriers which makes it quite compact. It comes with a fairly long hitch mount to allow for a spare tire, but I have cut mine down to tuck it in closer to the truck.
I think this basic rack is sold by many vendors under many names, but I'm not sure they're all built out of steel sturdy enough for ebikes.
I'm considering upgrading to a fancy one, but the "best" ones seem to be incompatible with fenders.
View attachment 154461