XML 70 R59.htm IDEA: XBRL DOCUMENT v3.23.2
Fair Value Measurement - Schedule of Carrying and Fair Value Amounts (Details) - USD ($)
$ in Thousands
Jun. 30, 2023
Dec. 31, 2022
Jun. 30, 2022
3.75% Convertible Notes      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Interest rate   3.75%  
2.75% Convertible Notes      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Interest rate     2.75%
Carrying Value | Level 1      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Held-to-maturity marketable securities $ 36,556 $ 65,943  
Carrying Value | Level 2 | 3.75% Convertible Notes      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Convertible notes 373,750 0  
Carrying Value | Level 2 | 2.75% Convertible Notes      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Convertible notes 31,338 230,000  
Carrying Value | Level 3      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Credit agreement - revolver 55,000 50,000  
Fair Value | Level 1      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Held-to-maturity marketable securities 35,458 64,584  
Fair Value | Level 2 | 3.75% Convertible Notes      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Convertible notes 403,002 0  
Fair Value | Level 2 | 2.75% Convertible Notes      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Convertible notes 41,841 281,365  
Fair Value | Level 3      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Credit agreement - revolver $ 54,344 $ 49,536