Long period after miscarriage

Had a miscarriage on June 12th and bled until June 28th. Dr said I passed everything when I went to my appt on 27th and following week my beta went down to 24 then 0. Started bleeding which I logged as my period on July 11th and still bleeding. How long have your period lasted after a miscarriage???