The car in the picture is a Hyundai, possibly an Elantra. It looks too small to be a Sonata.
You’re right, late model Hyundai Elantra, I only saw a shot from the front end which was heavily damaged and thought 3 Series from the crease running down the doors.