Yes, the airlines know they have married couples in their cockpits and they're okay with it. I'm sure there are a handful flying together at each of the majors. No one else wastes time thinking about it. There is no glass ceiling; pilot pay is transparent and based solely on seniority.