Alex wrecked his car on the way to work. His basis in the car was $20,000. He received $22,000 from the insurance company to replace the car. He only spent $15,000 on a replacement vehicle. What is the amount of the recognized gain?