To keep the ramps as stiff as possible you need them as short as possible.
To keep the ground clearance from being an issue you need them as long as possible.

The compromise would be to cut them 1" shorter than your wheelbase, that way the wood will never be supporting the entire weight of the car.