It's a shame that happened, here is my "Salvage" title (A little different, technically, but legally similar)
I had a 1987 Subaru Brat. It was t-boned pretty hard. It still tracked straight, and I put it on a frame straightening machine (I work part time at a body shop) and it was right on. Only body damage. But because the person that gave it to me (I traded my Shadow 750 cruiser) decided he wanted money, he had it totalled out (Ergo, Salvage)
I could have fixed the car, technically, but the legal paperwork ALONE was over $800 (From beginning to end) and involved so much testing and inspection that the whole car (even bits of the interior and glass) had to be factory perfect. So I was going to invest about $2500 overall and about 200 hours to make it "road worthy" even though it already was.
Back on the topic of Civics. Not many people realise this, but most Civics on the road are complete potato chips. Strut tower bars, lightweight hoods, far-too-stiff bushings, ultra-stiff suspension (And even papercutter doors in some cars) make them rolling deathtraps. Not a lot of people realise that racing suspension bits are made for a smooth track, and actually cause a LOSS of control on normal, bumpy and shittily maintained roads. Hitting a patch of oil, for instance, is remarkably worse in a stiff suspensioned car than not. Strut tower bars mean that if you take a hit on one side of the car, ALL of that energy is transferred to the opposite side at the same time. So hitting a deer, say, on one side will lead to actual frame damage on the seemingly untouched side.
Last point I want to touch on, is what to actually do. If it's too late to undo the purchase, then you should consider taking it to a body shop with a frame machine. That machine will tell you if the car is safe as speeds. From there, while they are hooking it up to the machine (at least an hour process, so pay the guy for his time) if the body seams and structural bits are ok. If the body guy gives it a clean bill of health then you're all set. There is, however, a caveat. Most body guys won't do what you request. They realise that if they do, and you get into an accident, they can be sued for somehow telling you that it was safe to do 120 mph into a pole. My shop, for instance, will send you on your way for suggesting such a thing. If you enter the shop and say "Hey, Jim, can I talk to you?" and he says "My name isn't Jim" and you respond "Hey, to me you're Jim of AA body service. I have no clue who you are, where you are, or that we even spoke today" he should get the idea that you're straight up and actually want to make the right move.
Good luck with that, and expect to drop another $500 or so into this car to make it as good as a $500 Civic could be. Oh, I'm sorry.. you said $2000 ? Wow. They saw you coming.