To OP,
If you want a reliable vehicle, chances are a Toyota would be more reliable than a Mazda. I am not biased. I own 4 Mazdas now. Reliability of Mazda is not bad. For all my four, I got, on average, 1 problem per 7 yrs per vehicle.
Small issue (several hundreds of dollars to fix, not...