v3.25.2
Notes Payable, Long-Term Borrowing, and Convertible Notes - Narrative (Details)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended 12 Months Ended
Jan. 02, 2025
d
Jan. 02, 2024
USD ($)
d
$ / shares
Feb. 02, 2021
USD ($)
d
$ / shares
Jun. 30, 2025
USD ($)
$ / shares
Jun. 30, 2024
USD ($)
Jun. 30, 2025
USD ($)
$ / shares
Jun. 30, 2024
USD ($)
Dec. 31, 2024
USD ($)
Oct. 01, 2018
USD ($)
Short-term Debt [Line Items]                  
Repayments of convertible debt           $ 0 $ 14,657    
Gain on extinguishment of debt       $ 0 $ 12,124 0 21,761    
Amortization of debt premium, net           (728) (521)    
Principal Balance       325,822   325,822   $ 326,043  
Long-term debt, gross       $ 339,877   339,877   340,449  
Chief executive officer                  
Short-term Debt [Line Items]                  
Debt instrument, periodic payment           $ 300 300    
Molotov SAS                  
Short-term Debt [Line Items]                  
Debt interest rate       2.25%   2.25%      
Principal Balance       $ 2,400   $ 2,400      
Evolution AI Corporation EAI | Note payable                  
Short-term Debt [Line Items]                  
Debt interest rate                 10.00%
Principal Balance                 $ 2,700
Interest payable       $ 4,300   4,300      
Evolution AI Corporation EAI | Interest and Penalties                  
Short-term Debt [Line Items]                  
Debt instrument, periodic payment           $ 7,400   $ 7,000  
2026 Convertible notes                  
Short-term Debt [Line Items]                  
Convertible notes payable     $ 402,500            
Debt interest rate     3.25% 3.25%   3.25%   3.25%  
Proceeds from convertible note, net of issuance costs     $ 389,400            
Payments of stock issuance costs     $ 13,100            
Debt instrument, convertible, conversion price (in usd per share) | $ / shares     $ 57.78            
Debt instrument, convertible, threshold trading days | d     20            
Debt instrument, convertible, threshold consecutive trading days | d     30            
Debt instrument, convertible, threshold percentage of stock price trigger     130.00%            
Redemption price, percentage     100.00%            
Interest expense       $ 0 300 $ 2,400 3,400    
Amortization of debt premium, net       300 300 500 600    
Principal Balance       144,765   144,765   $ 144,765  
Long-term debt, gross       144,130   144,130   143,633  
2026 Convertible notes | Convertible notes                  
Short-term Debt [Line Items]                  
Convertible notes payable   $ 205,800              
Repurchased face amount         27,000   27,000    
Debt net book value         26,700   26,700    
Repayments of convertible debt         14,700   14,700    
Gain on extinguishment of debt         12,100   12,100    
2026 Convertible notes | Fair Value, Inputs, Level 2                  
Short-term Debt [Line Items]                  
Convertible notes payable       $ 141,200   $ 141,200   $ 111,800  
2026 Convertible notes | Debt Instrument, Redemption, Period One                  
Short-term Debt [Line Items]                  
Debt instrument, convertible, threshold trading days | d     20            
Debt instrument, convertible, threshold consecutive trading days | d     30            
Debt instrument, convertible, threshold percentage of stock price trigger     130.00%            
2026 Convertible notes | Debt Instrument, Redemption, Period Two                  
Short-term Debt [Line Items]                  
Debt instrument, convertible, threshold trading days | d     5            
Debt instrument, convertible, threshold consecutive trading days | d     5            
Debt instrument, convertible, maximum percentage of product of sales price and conversion rate     98.00%            
2029 Convertible Notes                  
Short-term Debt [Line Items]                  
Debt interest rate       7.50%   7.50%   7.50%  
Debt instrument, convertible, conversion price (in usd per share) | $ / shares   $ 3.84              
Gain on extinguishment of debt           $ 9,600      
Amortization of debt premium, net       $ 600 $ 600 1,200 1,100    
Unamortized financing costs   $ 4,200              
Interest expense           6,700 $ 1,600    
Principal Balance       177,506   177,506   $ 177,506  
Long-term debt, gross       $ 187,525   $ 187,525   188,750  
2029 Convertible Notes | Convertible notes                  
Short-term Debt [Line Items]                  
Convertible notes payable   $ 177,500              
Debt instrument, convertible, conversion price (in usd per share) | $ / shares       $ 0.2606474   $ 0.2606474      
Debt instrument, convertible, threshold trading days | d 30                
Debt instrument, convertible, threshold consecutive trading days | d 20 20              
Debt instrument, convertible, threshold percentage of stock price trigger 200.00% 130.00%              
Debt instrument, convertible, threshold consecutive trading day immediately after measurement period   5 days              
Debt instrument, convertible, threshold percentage of notes trading price trigger   98.00%              
Debt instrument, convertible, threshold consecutive trading day before notice 10 days                
2029 Convertible Notes | Convertible notes | Base Rate                  
Short-term Debt [Line Items]                  
Debt interest rate   7.50%              
2029 Convertible Notes | Convertible notes | Paid in Kind                  
Short-term Debt [Line Items]                  
Debt interest rate   10.00%              
2029 Convertible Notes | Fair Value, Inputs, Level 2                  
Short-term Debt [Line Items]                  
Convertible notes payable       $ 224,200   $ 224,200   161,700  
2029 Convertible Notes | Debt Instrument, Redemption, Period One | Convertible notes                  
Short-term Debt [Line Items]                  
Debt instrument, convertible, threshold consecutive trading days | d   30,000              
Bpifrance | Molotov Acquisition                  
Short-term Debt [Line Items]                  
Principal balance       $ 800   $ 800   $ 1,000  
Other                  
Short-term Debt [Line Items]                  
Debt interest rate       4.00%   4.00%   4.00%  
Principal Balance       $ 30   $ 30   $ 30  
Long-term debt, gross       $ 40   $ 40   $ 40