Brown discharge at 20+ weeks

It’s been happening on a off for over a week.. I went to the hospital and everything was ok and my cervix was checked with no signs of fresh blood. I expected a couple of days of spotting after my cervix check but 3 days later I passed a dark brown blood clot size of 50p and now left with this again? It’s my 22 week scan this afternoon but looking for any reassurance of what it could be ? I have no pain or cramps.