XML 77 R64.htm IDEA: XBRL DOCUMENT v3.22.0.1
Convertible Senior Notes and Capped Call Transactions - Schedule of Interest Expense Incurred (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Debt Instrument [Line Items]      
Amortization of issuance costs $ 2,499 $ 1,340 $ 956
Amortization of debt discount 33,309 11,564 7,605
Total interest expense 37,533 14,629 9,999
Convertible Senior Notes | Convertible Debt      
Debt Instrument [Line Items]      
Contractual interest expense 1,725 1,725 1,438
Amortization of issuance costs 2,499 1,340 956
Amortization of debt discount $ 33,309 $ 11,564 $ 7,605