v3.25.2
CONVERTIBLE SENIOR NOTES AND TERM LOAN - Term Loan and Warrants (Details) - USD ($)
$ / shares in Units, $ in Thousands, shares in Millions
3 Months Ended
Aug. 05, 2024
Aug. 03, 2022
Jun. 30, 2025
Jun. 30, 2024
Mar. 31, 2025
Debt Instrument [Line Items]          
Debt instrument, face value     $ 338,914   $ 353,914
Fair value of the warrants at issuance     887   1,096
Cash and cash equivalents     81,315 $ 130,800 88,050
Loss on debt extinguishment     $ 81 $ 0  
Term Loan          
Debt Instrument [Line Items]          
Loss on debt extinguishment $ 12,000        
Term Loan | Loans payable          
Debt Instrument [Line Items]          
Debt instrument, face value         $ 250,000
Debt instrument, basis spread on variable floor rate   1.00%      
Debt instrument, credit spread adjustment   0.10%      
Debt instrument, basis spread on variable rate   6.50%      
Debt instrument, effective interest rate     11.94%    
Credit Agreement | Loans payable          
Debt Instrument [Line Items]          
Warrant of shares (in shares)   3.1      
Warrants and rights outstanding, term   5 years      
Exercise price of warrants (in dollars per share)   $ 7.15      
Credit Agreement | Loans payable | Common Stock          
Debt Instrument [Line Items]          
Percentage of premium over closing price   27.50%