Marijuana

Can being around the smoke occasionally or smelling it linger in your house be bad for the baby? Can that cause me to misscary? I'm 20+3