Sweating in pregnancy

I went for a walk today for about 30-40 mins, I’m 4 weeks 5 days pregnant. It was a lot hotter than I expected and got quite hot and sweaty. Now I’m reading about birth defects with overheating. Can I check this kind of thing is ok. I’ll probably avoid hot walks from now on but just wondering if that would have done any harm?