XML 61 R51.htm IDEA: XBRL DOCUMENT v3.23.1
Debt and Borrowings - Schedule of Debt (Details) - USD ($)
$ in Thousands
Mar. 31, 2023
Jun. 30, 2022
Debt Instrument [Line Items]    
Less: unamortized debt issuance costs $ (21,917) $ (27,015)
Convertible senior notes, net 1,703,083 1,697,985
Net carrying amount 1,838,141 1,773,082
Line of Credit    
Debt Instrument [Line Items]    
Borrowings from revolving credit facility 0 75,097
Non-current liabilites 135,058 0
Unamortized premium, current 100  
Unamortized premium, noncurrent 100  
Unamortized debt issuance costs 300 0
2027 Senior Notes    
Debt Instrument [Line Items]    
Non-current liabilites 575,000 575,000
Net carrying amount 564,140 562,127
2025 Senior Notes    
Debt Instrument [Line Items]    
Non-current liabilites 1,150,000 1,150,000
Net carrying amount $ 1,138,943 $ 1,135,858