XML 48 R37.htm IDEA: XBRL DOCUMENT v3.21.2
Convertible Senior Notes and Capped Call Transactions - Schedule of Interest Expense (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Sep. 30, 2021
Sep. 30, 2020
Debt Disclosure [Abstract]        
Contractual interest expense $ 792 $ 791 $ 2,372 $ 1,221
Amortization of debt discount 1,420 1,354 4,214 1,996
Amortization of debt issuance costs 306 292 909 430
Total $ 2,518 $ 2,437 $ 7,495 $ 3,647