Text this: Improving gender equity in academia depends on the workplace environment