Calrissian Corporation holds an available-for-sale debt investment. The amortized cost is $40,000; the fair value is $30,000; and expected credit losses are $25,000. What is the amount of the impairment loss