I have that same MacBook. Just got it back from the Genius Bar actually. I use it very sparingly and even then the keyboard has been replaced twice (three times if you count the first botched repair had to be redone).
I can't complain too much since it's been essentially a free battery replacement every two years, but in case you need to pay for the repair (which you will need to, if it's over 4 years old) your laptop WILL be totaled. The out-of-warranty top case replacement cost will be more than what that laptop is worth, which will instantly drop its value to $0.
Is a used M1 Air out of your budget?