v3.22.2.2
CONVERTIBLE SENIOR NOTES, TERM LOAN AND CAPPED CALLS - Carrying Amount (Details) - USD ($)
Sep. 30, 2022
Aug. 11, 2022
Aug. 10, 2022
Mar. 31, 2022
Feb. 28, 2019
Loans Payable | Term Loan          
Debt Instrument [Line Items]          
Principal $ 250,000,000   $ 250,000,000    
Unamortized debt discount and issuance costs (19,951,000)   (5,600,000)    
Net carrying amount 230,049,000        
Convertible Debt | 2028 Notes          
Debt Instrument [Line Items]          
Principal 201,914,000 $ 201,900,000 201,900,000    
Unamortized debt discount and issuance costs (4,829,000)        
Net carrying amount 197,085,000        
Convertible Debt | Convertible Senior Notes 2024          
Debt Instrument [Line Items]          
Principal 90,165,000   $ 403,800,000 $ 500,000,000 $ 287,500,000
Unamortized debt discount and issuance costs (568,000)     (52,548,000)  
Net carrying amount $ 89,597,000     $ 447,452,000