If you buy a 2/2 condo, it's OK as a rental property near universities, you'd always have tenants.
But if you're buying for yourself, you have to consider that you'd need a bigger place later, and what you're going to do with the 2/2.
If the property is heavy negative cash flow as a rental, then the numbers won't work.
There's also a fair number of parents with only 1 child, and doesn't need a 3 bed. My parents only had 1 kid and we rented a cheap 2 bed 1 bath condo in Lakewood back in 1980s while saving $$ for down payment.
I will say that 2/2's are harder to sell. I owned a 2/2 in Placentia and it was harder to sell than a 3/2.