Actually, Mazda is one of the better car companies out there. When I see someone in a Mazda, I almost always give them small props for not buying a more boring alternative. You really have to take a step back and look at their lineup.
MX5: Say what you will, but nobody builds a better affordable roadster.
CX5: Seriously excellent small crossover. Looks great, and a small displacement diesel option most likely just around the corner. It's the "driver's" crossover.
Mazda6: Pretty excellent styling, especially compared to its competition (Malibu, Accord, Camry, etc.). Excellent driving dynamics. Diesel option coming soon.
Mazda5: Ugly, but is highly regarded as being an excellent driving mini-minivan, if you need one.
Mazda2: Ugly, but is known for not being a total penalty box in terms of handling.
Mazda3: The enthusiast driver's alternative to vanilla Civics and Corollas.
Mazda RX8: No longer sold, and the rotary engine was not reliable, but the car handled better than cars costing MUCH more.
Of all the car companies out there, Mazda is pretty much the only one who prioritizes sporty handling throughout most of their lineup. Also, I remember back a number of years ago when I test drove a 1st gen Mazda3. The interior was WAAAAY nicer than anything else in the segment. They have also invested heavily in club and professional motorsport racing for decades, which few car companies do, and it shows. By most accounts, Mazda is run by engineers and enthusiasts, and not by bean counters.