Started new job but found out I'm pregnant 2 weeks later

Kay
Hi everyone
Just a new job beginning of April and found out over the weekend that I'm pregnant. So it will be exactly 9months when I go on maternity leave and since I've started this job. I'm worried it might have a negative impact on how my bosses view or treat me. I'm an engineer so Mind everyone I work with is a man in the whole of uk staff. With only 2 hr ladies. So I already have to work twice as hard to get any credit in this field. Am I overthinking this at all?