v3.23.1
Convertible Senior Notes - Narrative (Details)
shares in Millions
1 Months Ended 3 Months Ended
Mar. 31, 2023
USD ($)
Feb. 28, 2023
USD ($)
May 31, 2021
USD ($)
Nov. 30, 2020
USD ($)
day
shares
Jun. 30, 2019
USD ($)
day
Feb. 28, 2018
USD ($)
Mar. 31, 2023
USD ($)
Mar. 31, 2022
USD ($)
Mar. 31, 2021
day
Sep. 30, 2019
day
Dec. 31, 2022
USD ($)
Nov. 15, 2020
USD ($)
Jun. 01, 2019
USD ($)
Feb. 15, 2018
USD ($)
Debt Instrument [Line Items]                            
Payments for repurchases of convertible notes             $ 149,640,000 $ 0            
Gain (loss) on extinguishment of debt             $ 19,869,000 $ 0            
Convertible Notes Due 2025                            
Debt Instrument [Line Items]                            
Remaining amortization period for debt issuance costs             2 years 7 months 6 days              
Convertible Senior Notes Due June 2026                            
Debt Instrument [Line Items]                            
Remaining amortization period for debt issuance costs             3 years 2 months 12 days              
Convertible Debt                            
Debt Instrument [Line Items]                            
Redemption price percentage           100.00%                
Convertible Debt | Convertible Senior Notes Due February 2023                            
Debt Instrument [Line Items]                            
Principal amount           $ 230,000,000               $ 230,000,000
Principal amount exchanged       $ 181,900,000                    
Repurchased principal amount     $ 37,100,000                      
Payments for repurchases of convertible notes   $ 10,900,000 $ 63,700,000                      
Unamortized debt issuance costs $ 0           $ 0       $ 5,000      
Convertible Debt | Convertible Notes Due 2025                            
Debt Instrument [Line Items]                            
Principal amount       350,000,000               $ 350,000,000    
Principal amount received       $ 210,700,000                    
Shares issued from exchange on convertible senior notes (in shares) | shares       1.3                    
Repurchased principal amount 159,000,000           159,000,000              
Payments for repurchases of convertible notes 138,400,000                          
Principal amount, additional       $ 139,300,000                    
Unamortized debt issuance costs 1,945,000           1,945,000       3,898,000      
Threshold percentage of stock price trigger       130.00%         130.00%          
Limitation on sale of common stock, sale price threshold, number of trading days | day       20         20          
Limitation on sale of common stock, sale price threshold, trading period | day       30         30          
Number of consecutive business days                 5 days          
Percentage of closing sale price in excess of convertible notes                 98.00%          
Redemption price percentage       100.00%                    
Convertible Debt | Convertible Senior Notes Due June 2026                            
Debt Instrument [Line Items]                            
Principal amount         $ 316,300,000               $ 316,250,000  
Repurchased principal amount 12,300,000           12,300,000              
Payments for repurchases of convertible notes 10,700,000                          
Unamortized debt issuance costs 4,072,000           4,072,000       $ 4,563,000      
Threshold percentage of stock price trigger         130.00%         130.00%        
Limitation on sale of common stock, sale price threshold, number of trading days | day         20         20        
Limitation on sale of common stock, sale price threshold, trading period | day         30         30        
Number of consecutive business days                   5 days        
Percentage of closing sale price in excess of convertible notes                   98.00%        
Redemption price percentage         100.00%                  
Convertible Debt | Convertible Senior Notes Due 2025 And 2026                            
Debt Instrument [Line Items]                            
Gain (loss) on extinguishment of debt             19,900,000              
Unamortized debt issuance costs $ 1,800,000           $ 1,800,000