I am actually currently looking at something similar as well. Most of the small used cars today are overpriced and you pretty much have to buy something near 200k to be reasonable. This car would have been sold for $4k in my area in today's market and I have seen worse.
Parents have 2 Mazda, I can say that from my maintenance with them they do have some corner cutting outside of the powertrain area, mostly in the brake corrosion and things like interior refinement. As a commuter they are legit reliable, especially if you don't live in places that salt the roads.
If I am going to buy a new low budget non hybrid today I would pick Mazda due to the lack of CVT, and proven non turbo design.