To save me some buck I strapped an old sport watch to the bike, it can connect to everything, last days on a single charge and it has physical buttons. Just as good.
Ooh yes, you can even get purpose made handlebar mounts for sport watches. Good point!
If the expense is an issue, try a used one. My cycle computer was released several years ago (wahoo wfcc4 (2019)) and is still great.