I've been pleased with the premium version of phone-based RideWithGPS. It's a phone battery hog with the screen set for always-on, but no bike computer like a Wahoo or Garmin required.
Record rides on my
Specialized ebike with the Specialized phone app for various reasons — including phone battery preservation. But I import all those rides into RideWithGPS afterward for comparison and analysis.
On my other bike, I record with RideWithGPS directly, as the Specialized app requires a registered Specialized ebike. RideWithGPS has better mapping options and a good planning mode that the Specialized app lacks.
Lots of info on RideWithGPS and alternatives here. The forum search function is your friend.