Lexapro while pregnant

Has anyone taken lexapro while pregnant for their anxiety? I’m 30 weeks and considering taking it but feel worried/ guilty if something happened to baby because of it. My doctor has told me it’s safe but I still just have that worry. TIA