XML 44 R31.htm IDEA: XBRL DOCUMENT v3.22.0.1
Debt (Tables)
12 Months Ended
Dec. 31, 2021
Debt Disclosure [Abstract]  
Summary of Convertible Debt
The net carrying amount of the liability and equity components of the Notes was as follows (in thousands):
As of December 31,
20212020
Liability component:
Principal$345,000 $345,000 
Unamortized discount(41,193)(49,346)
Unamortized issuance costs(5,146)(6,164)
Net carrying amount$298,661 $289,490 
Equity component, net of purchase discounts and issuance costs$58,560 $58,560 
Interest expense related to the Notes is as follows (in thousands):
Year ended December 31,
202120202019
Contractual interest expense$3,881 $3,880 $1,444 
Amortization of debt discount8,153 7,901 2,900 
Amortization of issuance costs1,018 988 362 
Total interest expense$13,052 $12,769 $4,706