XML 45 R28.htm IDEA: XBRL DOCUMENT v3.22.0.1
Debt (Tables)
12 Months Ended
Dec. 31, 2021
Debt Disclosure [Abstract]  
Schedule of Convertible Notes
The liability and equity components of the Notes consisted of the following (in thousands):
 December 31, 2021December 31, 2020
Liability: 
Principal amount$287,500 $287,500 
Unamortized debt issuance costs(6,033)(5,446)
Unamortized debt discount— $(79,070)
Net carrying amount$281,467 $202,984 
Carrying amount of the equity component$— $85,803 
Schedule of Interest Expense Recognized
The following table details interest expense recognized related to the Notes for the years ended December 31, 2021 and 2020 (in thousands):
December 31, 2021December 31, 2020
Contractual interest expense$4,313 $2,707 
Amortization of debt issuance costs1,727 652 
Amortization of debt discountN/A9,446 
Total interest expense$6,040 $12,805