XML 81 R70.htm IDEA: XBRL DOCUMENT v3.22.1
Debt and Borrowings - Schedule of Debt and Borrowings (Details) - USD ($)
$ in Thousands
Mar. 31, 2022
Jun. 30, 2021
Debt Instrument [Line Items]    
Total principal amount of debt and borrowings $ 1,802,500 $ 1,227,500
Less: unamortized debt discount and issuance costs (27,767) (238,119)
Net carrying value of debt and borrowings 1,774,733 989,381
2019 Credit Agreement    
Debt Instrument [Line Items]    
Total principal amount of debt and borrowings 30,000 30,000
2021 Revolving Credit Agreement and the 2019 Credit Agreement    
Debt Instrument [Line Items]    
Total principal amount of debt and borrowings 77,500 77,500
Current liabilities 30,370  
Non-current liabilities 48,071 79,534
2027 Notes    
Debt Instrument [Line Items]    
Total principal amount of debt and borrowings 575,000  
Less: unamortized debt discount and issuance costs (13,543)  
Net carrying value of debt and borrowings 561,457  
Non-current liabilities 561,457  
2025 Notes    
Debt Instrument [Line Items]    
Total principal amount of debt and borrowings 1,150,000 1,150,000
Less: unamortized debt discount and issuance costs (15,165) (240,153)
Net carrying value of debt and borrowings 1,134,835 909,847
Current liabilities 1,134,835 909,847
Amount allocated to equity component, net of issuance costs and tax   245,066
Class A | 2021 Revolving Credit Agreement    
Debt Instrument [Line Items]    
Total principal amount of debt and borrowings 37,500 37,500
Class B | 2021 Revolving Credit Agreement    
Debt Instrument [Line Items]    
Total principal amount of debt and borrowings 10,000 10,000
2027 and 2025 Convertible Senior Notes    
Debt Instrument [Line Items]    
Total principal amount of debt and borrowings $ 1,725,000 $ 1,150,000