v3.24.2.u1
Debt - Narrative (Details)
1 Months Ended 3 Months Ended 6 Months Ended
Jun. 13, 2024
Jan. 11, 2023
USD ($)
day
$ / shares
Jan. 09, 2023
USD ($)
Apr. 30, 2020
USD ($)
day
$ / shares
Jun. 30, 2024
USD ($)
agreement
Jun. 30, 2023
USD ($)
Mar. 31, 2023
USD ($)
Sep. 30, 2021
USD ($)
Jun. 30, 2024
USD ($)
day
agreement
Jun. 30, 2023
USD ($)
Dec. 31, 2023
USD ($)
Jan. 31, 2023
USD ($)
Jan. 08, 2023
USD ($)
Debt Instrument [Line Items]                          
Debt instrument, unamortized debt discount and issuance costs         $ 37,613,000       $ 37,613,000   $ 43,670,000    
Proceeds from debt                 0 $ 269,223,000      
Loss on debt extinguishment                 $ 0 12,123,000      
Prince Georges County Maryland                          
Debt Instrument [Line Items]                          
Interest rate         3.00%       3.00%        
Standby Letters of Credit                          
Debt Instrument [Line Items]                          
Maximum borrowing capacity         $ 11,700,000       $ 11,700,000        
Prince Georges County Maryland                          
Debt Instrument [Line Items]                          
Number of contracts | agreement         2       2        
Convertible Debt                          
Debt Instrument [Line Items]                          
Net carrying amount         $ 527,000,000       $ 527,000,000   527,000,000    
Revolving facility                          
Debt Instrument [Line Items]                          
Net carrying amount         40,000,000       40,000,000   40,000,000    
Second Amended Credit Agreement                          
Debt Instrument [Line Items]                          
Debt instrument, restrictive covenants, minimum recurring revenues               $ 900,000,000 900,000,000        
Deferred government grant obligations                          
Debt Instrument [Line Items]                          
Net carrying amount         3,500,000       3,500,000   3,500,000    
Deferred government grant obligations | Prince Georges County Maryland                          
Debt Instrument [Line Items]                          
Net carrying amount         3,500,000       3,500,000        
2025 Notes | Convertible Debt                          
Debt Instrument [Line Items]                          
Principal       $ 380,000,000 380,000,000       380,000,000   380,000,000    
Interest rate       2.25%                  
Interest expense, debt         $ 2,600,000 $ 2,600,000     $ 5,300,000 5,300,000      
Proceeds from debt       $ 369,600,000                  
Debt instrument, effective interest rate         2.90%       2.90%        
Debt instrument, convertible, threshold consecutive trading days, sale price per share       130.00%                  
Debt instrument, convertible, threshold trading days | day       20                  
Debt instrument, convertible, threshold consecutive trading days | day       30                  
Debt instrument, convertible, threshold consecutive trading days, sale price per share | day       5                  
Debt instrument, convertible, measurement period | day       10                  
Debt instrument, threshold percentage of sales price per share       98.00%                  
Debt instrument, convertible, conversion ratio 0.0011792     0.0353773                  
Debt instrument, convertible, conversion price (in dollars per share) | $ / shares       $ 28.27                  
2025 Notes | Convertible Debt | Minimum | Outstanding on January 30, 2025                          
Debt Instrument [Line Items]                          
Principal     $ 40,000,000                    
2025 Notes | Line of Credit | Minimum | Outstanding on January 1, 2025                          
Debt Instrument [Line Items]                          
Long-term debt, average amount outstanding     50,000,000                    
2025 Notes | Fair Value, Inputs, Level 2 | Convertible Debt                          
Debt Instrument [Line Items]                          
Long-term debt, fair value         $ 205,200,000       $ 205,200,000   191,700,000    
2030 Notes | Convertible Debt                          
Debt Instrument [Line Items]                          
Principal   $ 147,000,000     147,000,000       147,000,000   147,000,000 $ 147,000,000  
Interest rate   4.50%                      
Interest expense, debt         $ 2,400,000 $ 2,300,000     $ 4,800,000 $ 4,300,000      
Proceeds from debt   $ 127,100,000                      
Debt instrument, convertible, threshold consecutive trading days, sale price per share   130.00%                      
Debt instrument, convertible, threshold trading days | day   20                      
Debt instrument, convertible, threshold consecutive trading days | day                 30        
Debt instrument, convertible, conversion ratio 0.0038037 0.1111111                      
Debt instrument, convertible, conversion price (in dollars per share) | $ / shares   $ 9.00                      
Interest rate during period         7.50%       7.50%        
2030 Notes | Fair Value, Inputs, Level 2 | Convertible Debt                          
Debt Instrument [Line Items]                          
Long-term debt, fair value         $ 48,500,000       $ 48,500,000   55,000,000    
Term Loan Agreement                          
Debt Instrument [Line Items]                          
Debt instrument, unamortized debt discount and issuance costs         $ 18,200,000       $ 18,200,000   $ 21,700,000    
Debt instrument, effective interest rate percentage         14.50% 14.40%     14.50% 14.10%      
Term Loan Agreement | Line of Credit                          
Debt Instrument [Line Items]                          
Net carrying amount     $ 380,000,000                   $ 567,000,000
Prepayment premium     1.00%                    
Principal repayments         0.25%       0.25%        
Interest expense, debt         $ 14,300,000 $ 13,300,000     $ 28,400,000 $ 26,500,000      
Loss on debt extinguishment             $ 12,100,000            
Unamortized issuance costs             $ 4,600,000            
Term Loan Agreement | Line of Credit | Base Rate                          
Debt Instrument [Line Items]                          
Variable rate, applicable margin     5.50%                    
Interest rate         4.75%       4.75%        
Term Loan Agreement | Line of Credit | SOFR                          
Debt Instrument [Line Items]                          
Variable rate, applicable margin     6.50%                    
Term Loan Agreement | Line of Credit | Eurodollar                          
Debt Instrument [Line Items]                          
Interest rate         5.75%       5.75%        
Revolving Loan Facility                          
Debt Instrument [Line Items]                          
Debt instrument, effective interest rate percentage         10.80% 10.60%     10.90% 10.60%      
Revolving Loan Facility | Line of Credit                          
Debt Instrument [Line Items]                          
Principal     $ 40,000,000                    
Revolving Loan Facility | Line of Credit | Base Rate                          
Debt Instrument [Line Items]                          
Variable rate, applicable margin     4.50%                    
Revolving Loan Facility | Line of Credit | SOFR                          
Debt Instrument [Line Items]                          
Variable rate, applicable margin     5.50%                    
The Notes | Convertible Debt                          
Debt Instrument [Line Items]                          
Capped call, cap price (in dollars per share) | $ / shares       $ 44.34                  
Cost of derivative       $ 50,500,000                  
Senior Secured Term Loan Facility | Line of Credit                          
Debt Instrument [Line Items]                          
Senior secured term loan facility       $ 250,000,000