The US has a good network of public run rest stops on the interstates. The bathrooms aren’t spotless but have always worked in a pinch. There’s one every few hundred miles.
Truckers prefer commercial truck stops but I usually see a few at the public ones when I stop there.
The network of rest stops varies. In Washington State, they recently closed a line of them along the I-5 due to vandalism and a lack of employees to maintain them.
There was a certain small population causing that damage, one attracted by non-enforcement of vagrancy, littering, and hard drug laws in Seattle. Same group which has denied us shared public commons.