Strong hpt but bleeding not heavy

I went for ultrasound and there was no heartbeat or yolk sac. Bby measures 5 weeks. I have been bleeding but no heavy off n on. Im worried i have lost baby but it might be still early. Has this happened to anyone?