v3.26.1
DEBT - Narrative (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 6 Months Ended 17 Months Ended 43 Months Ended
May 31, 2026
USD ($)
day
$ / shares
Oct. 31, 2025
USD ($)
Aug. 31, 2023
USD ($)
tranche
Apr. 30, 2022
USD ($)
tranche
Jun. 30, 2026
USD ($)
$ / shares
Jun. 30, 2026
USD ($)
$ / shares
Jun. 30, 2025
USD ($)
Aug. 31, 2023
USD ($)
tranche
Oct. 31, 2025
USD ($)
Dec. 31, 2025
$ / shares
Debt Instrument [Line Items]                    
Common stock, par value (in dollars per share) | $ / shares         $ 0.01 $ 0.01       $ 0.01
Loss on extinguishment of debt           $ 4,449 $ 0      
Secured Debt                    
Debt Instrument [Line Items]                    
Proceeds from term loan               $ 20,000    
Convertible Senior Notes Due 2032 | Convertible notes, as converted to shares of common stock                    
Debt Instrument [Line Items]                    
Initial conversion price (in dollars per share) | $ / shares $ 24.65                  
Loan received $ 250,000                  
Interest rate (in percent) 1.75%                  
Additional borrowing amount $ 25,000                  
Principal outstanding for redemption $ 75,000                  
Convertible conversion ratio 0.040568                  
Unamortized debt discount and issuance costs         $ 7,841 $ 7,841        
Effective interest rate (in percent)         2.32% 2.32%        
Estimated fair value         $ 271,100 $ 271,100        
Convertible Senior Notes Due 2032 | Convertible notes, as converted to shares of common stock | Debt Conversion Terms One                    
Debt Instrument [Line Items]                    
Threshold percentage of stock price trigger (in percent) 130.00%                  
Threshold trading days | day 20                  
Threshold consecutive trading days | day 30                  
Convertible Senior Notes Due 2032 | Convertible notes, as converted to shares of common stock | Debt Conversion Terms Two                    
Debt Instrument [Line Items]                    
Threshold percentage of stock price trigger (in percent) 98.00%                  
Threshold trading days | day 5                  
Threshold consecutive trading days | day 10                  
Hercules Loan and Security Agreement | Secured Debt                    
Debt Instrument [Line Items]                    
Loan received   $ 300,000 $ 150,000 $ 75,000       $ 150,000 $ 300,000  
Debt instrument, number of tranches | tranche     4 4       4    
Debt instrument, face amount, first tranche   100,000 $ 50,000 $ 25,000       $ 50,000 100,000  
Debt instrument, face amount, second tranche   50,000 20,000         20,000 50,000  
Debt instrument, face amount, third tranche   50,000 20,000         20,000 50,000  
Debt instrument, face amount, fourth tranche   50,000 60,000         60,000 50,000  
Proceeds from term loan   30,000 15,000 $ 5,000         50,000  
Debt instrument, face amount, fifth tranche   50,000             50,000  
Payoff amount $ 55,100                  
Loss on extinguishment of debt         $ 4,100 $ 4,100        
Hercules Loan and Security Agreement | Secured Debt | Through December 15, 2023                    
Debt Instrument [Line Items]                    
Debt instrument, face amount, first tranche   25,000 25,000         25,000 25,000  
Hercules Loan and Security Agreement | Secured Debt | July 1, 2024 through December 15, 2024                    
Debt Instrument [Line Items]                    
Debt instrument, face amount, first tranche   $ 25,000 $ 25,000         $ 25,000 $ 25,000