Sunburn harm baby?

Was only out about 2 hours today. Didn’t even think it was THAT hot but managed to burn shoulders and chest. Is there any way it can harm the baby? Just needing a little reassurance. 22 weeks pregnant