We recommend transporting your bike inside the vehicle. Many bike racks clamp the bikes on the down tube, this is not suitable especially for carbon frames. Clamping on the top tube and fixing the wheels is usually suitable for transporting aluminum frames.
Roof racks that use the (suspension) fork mount and the rear wheel are generally unproblematic. This fixing is not suitable for carbon forks.