v3.22.2.2
CONVERTIBLE SENIOR NOTES, TERM LOAN AND CAPPED CALLS - Interest Expense (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Debt Instrument [Line Items]        
Amortization of debt discount and issuance costs     $ 2,000 $ 8,855
2028 Notes | Convertible Debt        
Debt Instrument [Line Items]        
Contractual interest expense $ 3,404   3,404  
Amortization of debt discount and issuance costs 433   433  
Total interest expense 3,837   3,837  
Convertible Senior Notes 2024 | Convertible Debt        
Debt Instrument [Line Items]        
Contractual interest expense 4,883 $ 453 5,508 906
Amortization of debt discount and issuance costs 1,169 4,463 2,000 8,855
Total interest expense $ 6,052 $ 4,916 $ 7,508 $ 9,761