Brown coffee ground like discharge

I’m 8 weeks pregnant and have had this brown coffee ground like discharge for a few days now but I’ve had the brown discharge off and on for a couple weeks. I only had one day of light red bleeding when I wiped after using the bathroom and no more after that. No cramping or pain. What could this be?