Buy a Dyson. No better for cordless.
In-laws, parents, friends have Dysons.
I’d take this any day: https://www.makitatools.com/products/details/XLC02ZW
In fact, I have one on each story of our house, and one in the basement. It works perfect as a walk around vac for light cleaning, and unlike the Dyson, the battery is easily swappable, so you can charge it or change it.
It doesn’t have a beater bar, but you don’t want one on hard surfaces.
We’ve had ours for years and they have been flawless. Good suction, zero complaints.
$170 for the kit with battery and charger; $80 if you already have Makita tools... way less then the fancy Dyson v series cordless vacuums, and not a paperweight if the battery goes bad.
Now, for the garage, I just bought a Milwaukee cordless vac. It is the box vac for $119 at HD. Works great, nicely made, but it is loud. It squeals. I bought na 8Ah HO battery, and a long extension hose for it and have been pleased. Primary use is spot cleaning inside and outside (pollen and maple seeds) of the cars.