Brown discharge okay?

I'm 12 weeks pregnant and I spotted brown. It's this normal? Or can it be a sign of miscarriage?