Brown discharge?

So I had dark brown (mucus) discharge two weeks before my period. I’ve read it’s a sign of pregnancy or penetration but i know that’s not a factor since I’m not sexually active nor have been, what else does it mean? I’m sorta worried.