A 29-year-old woman presents with lower abdominal pain and light vaginal bleeding at 7 weeks’ gestation. She has a positive pregnancy test and is haemodynamically stable. There is cervical excitation on examination. What is the most appropriate next investigation?