Data from 1 million nonprofit workers show that men have an easier pathway to leadership — and suggests how to level the playing field.