Reproductive ecology and the persistence of an endangered plant