I would also argue that burden to compensate companies for employees taking time off for personal or family matters (regardless of sex, reproductive plan or status) should be shouldered at the state or national level, and not at local level where there may be higher disparity in both burden and capacity. If both men and women are allotted mandated time to attend to family, and both men and women warrant access to funding for their employers, then companies would lose incentives to discriminate because presumably everyone would want their time off.
If the federal government compensated businesses, then startups and small businesses wouldn't be exempt from protection, nor unequally stressed relative to bigger businesses. As another commentator pointed out, the UK has a similar model.
Note I’m not taking a blanket all regulation is bad stance. I support regulation to protect pregnant employees and family life. I am recruiting right now for a contractor to cover for a pregnant employee in my team (in the UK). I just think in general the simplest approach is usually the beast, or anyway the least worst.