Thought experiment: a scrappy startup is struggling to stay profitable, they literally (and not figuratively) can't afford their developers leaving for extended amounts of time and they are very upfront about this in interviews. Are they legally allowed to discriminate against candidates that are pregnant or expressed a desire to have children in the near future since it has the potential to kill their business if they hire them?