On and off brown spotting with no cramping

So this has been going on for 3 weeks now. I’m 7 weeks today. Had an ultrasound sound at 6 weeks 1 day. Baby had a heart beat and was measuring right where it should be. Doc said everything looked great. But today this happened and I had some brown discharge in my underwear.

.