Overheating

I was watching my son’s swimming lesson and I’ve just found out I’m 4 weeks pregnant. It was only half an hour but I was so hot!! It was like a sauna in there. I’m worried it will have caused harm to the baby. Is this safe?