This is something I’ve never even considered when looking at a vehicle. I have a coupe, a wagon, and a pickup. I don’t believe any of them is inherently “safer” than the others.
There are WAY too many variables to start asking if one particular type of vehicle is “safer than another.” I don’t think there can be a legitimate answer.