The drug rebalances hormones that spike during pregnancy and plummet after birth