I'd go with a refurb M1 Macbook Air - slightly above your budget, but these things are so overspec'd you'll be able to use is for the better part of a decade. The batter will die before the chip gets aged out.
https://www.apple.com/shop/refurbished/mac/macbook-air