Spotting during pregnancy

For those of you that had spotting during pregnancy, how long did it last for?

I’m 6 weeks 6 days and I’ve been spotting brown for 11 days and counting.

Had a scan and the heart rate/ size was exactly where it should be, had a pelvic exam and the cervix is closed, drs don’t know where the spotting is coming from and why I’m spotting.

Hoping this spotting will go soon, makes me so anxious!