XML 51 R41.htm IDEA: XBRL DOCUMENT v3.22.1
Long-term Debt - Summary of Outstanding Principal Amount and Carrying Value (Parenthetical) (Details) - USD ($)
$ in Thousands
1 Months Ended
Nov. 30, 2021
Mar. 31, 2022
Dec. 31, 2021
Debt Instrument [Line Items]      
Unamortized debt issuance costs   $ 8,653 $ 9,056
2019 Convertible Senior Notes due 2026      
Debt Instrument [Line Items]      
Repurchase of debt principal amount $ 76,400    
Unamortized debt issuance costs 1,800 $ 207 217
2019 Note Repurchase | 2019 Convertible Senior Notes due 2026      
Debt Instrument [Line Items]      
Repurchase of debt principal amount $ 76,400    
Unamortized debt issuance costs     $ 1,800