XML 113 R88.htm IDEA: XBRL DOCUMENT v3.23.2
Debt and Bank Borrowings - Schedule of Debt (Details) - USD ($)
$ in Thousands
Jun. 30, 2023
Jun. 30, 2022
Debt Instrument [Line Items]    
Less: unamortized issuance costs $ (20,218) $ (27,015)
Convertible senior notes, net 1,704,782 1,697,985
Net carrying amount 1,839,828 1,773,082
Line of Credit    
Debt Instrument [Line Items]    
Borrowing from revolving credit facility 135,046 75,097
Unamortized debt issuance costs 200 0
2027 Notes    
Debt Instrument [Line Items]    
Convertible senior notes: 575,000 575,000
Less: unamortized issuance costs (10,188) (12,873)
Net carrying amount 564,812 562,127
2025 Notes    
Debt Instrument [Line Items]    
Convertible senior notes: 1,150,000 1,150,000
Less: unamortized issuance costs (10,030) (14,142)
Net carrying amount $ 1,139,970 $ 1,135,858