XML 103 R88.htm IDEA: XBRL DOCUMENT v3.22.0.1
Long-term Debt - Convertible Senior Notes Carrying Value (Details) - Senior Notes - USD ($)
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Aug. 31, 2020
Oct. 31, 2018
Oct. 24, 2018
Oct. 22, 2018
Dec. 31, 2016
2024 Notes              
Debt Instrument [Line Items]              
Convertible Debt, Total $ 89,361,000 $ 81,462,000          
Unamortized debt discount and issuance costs 27,690,000 35,589,000          
Principal amount $ 117,051,000 $ 117,051,000 $ 117,100,000        
Remaining amortization period (years) 2 years 10 months 24 days 3 years 10 months 24 days          
2024 Notes | Level 2              
Debt Instrument [Line Items]              
Fair value $ 195,445,000 $ 153,220,000          
2025 Notes              
Debt Instrument [Line Items]              
Convertible Debt, Total 126,315,000 116,349,000          
Unamortized debt discount and issuance costs 46,185,000 56,151,000          
Principal amount $ 172,500,000 $ 172,500,000   $ 172,500,000 $ 22,500,000 $ 150,000,000  
Remaining amortization period (years) 3 years 9 months 18 days 4 years 9 months 18 days          
2025 Notes | Level 2              
Debt Instrument [Line Items]              
Fair value $ 177,251,000 $ 147,488,000          
2021 Notes              
Debt Instrument [Line Items]              
Convertible Debt, Total 0 26,557,000          
Unamortized debt discount and issuance costs 0 180,000          
Principal amount $ 0 $ 26,737,000         $ 125,000,000
Remaining amortization period (years) 0 years 10 months 24 days          
2021 Notes | Level 2              
Debt Instrument [Line Items]              
Fair value $ 0 $ 26,470,000