Ready or not: Negotiating gender and institutional environment on the path to professorship