Spotting brown at 11 weeks

Rebecca • lost our miracle baby at 11w5d
I am spotting brown and I'm 11 weeks today. I started spotting after being diagnosed with a uti which I'm on antibiotics for. I have no cramps or pain. Is this normal? If so what would be causing the spotting?