Brown spotting during second trimester

Has anyone had brown discharge/spotting during the second trimester? I’ve been having light brown spotting for a couple of days now. Doctor checked and didn’t see anything of concern and baby’s heartbeat was fine. Just wondering if anyone else has this and got an answer about the cause, or if it led to any issues.