XML 63 R52.htm IDEA: XBRL DOCUMENT v3.21.1
Debt and Bank Borrowings - Additional Information (Details)
3 Months Ended 9 Months Ended
Nov. 30, 2020
USD ($)
$ / shares
shares
Jun. 28, 2019
USD ($)
Mar. 31, 2021
USD ($)
$ / shares
Mar. 31, 2021
USD ($)
TradingDay
$ / shares
shares
Mar. 31, 2020
USD ($)
Aug. 15, 2019
USD ($)
Debt Instrument [Line Items]            
Proceeds from issuance of convertible senior notes, net of discount and issuance costs       $ 1,129,379,000    
Debt issuance costs         $ 151,000  
Amortization of debt discount and issuance costs       15,724,000    
Line of credit facility, utilization         $ 2,300,000  
Eurodollar Rate | Senior Facilities Agreement            
Debt Instrument [Line Items]            
Debt instrument basis spread on variable rate   1.25%        
Eurodollar Rate | Senior Facilities Agreement | Minimum            
Debt Instrument [Line Items]            
Debt instrument basis spread on variable rate   1.75%        
Eurodollar Rate | Senior Facilities Agreement | Maximum            
Debt Instrument [Line Items]            
Debt instrument basis spread on variable rate   2.75%        
London Interbank Offered Rate | Senior Facilities Agreement | Minimum            
Debt Instrument [Line Items]            
Debt instrument reduction in basis spread on variable rate   0.00%        
Alternative Base Rate | Senior Facilities Agreement | Minimum            
Debt Instrument [Line Items]            
Debt instrument basis spread on variable rate   0.25%        
Alternative Base Rate | Senior Facilities Agreement | Maximum            
Debt Instrument [Line Items]            
Debt instrument reduction in basis spread on variable rate   1.25%        
Federal Funds Effective Rate | Senior Facilities Agreement            
Debt Instrument [Line Items]            
Debt instrument, effective interest rate percentage   0.50%        
2025 Notes            
Debt Instrument [Line Items]            
Debt instrument, aggregate principal amount $ 1,150,000,000   $ 1,150,000,000 $ 1,150,000,000    
Debt instrument, interest rate 0.00%   0.00% 0.00%    
Debt instrument, maturity date Dec. 01, 2025          
Proceeds from issuance of convertible senior notes, net of discount and issuance costs $ 1,130,000,000          
Debt issuance costs $ 20,600,000          
Debt initial conversion rate 6.2159          
Debt instrument denomination of principal amount for conversion into common stock $ 1,000     $ 1,000    
Initial conversion price per share | $ / shares $ 160.88          
Notes issued upon conversion | shares 7,100,000          
Debt instrument threshold percentage of conversion price       130.00%    
Number of trading days for conversion of Notes | TradingDay       20    
Number of consecutive trading days for conversion of Notes | TradingDay       30    
Debt convertible date Sep. 01, 2025          
Number of business day period for conversion of Notes       5 days    
Number of consecutive trading day period in consideration for conversion of Notes       5 days    
Threshold percentage of stock price trigger in measurement period       98.00%    
Debt conversion rate in make whole       2.9525    
Debt conversion price per share in make whole | $ / shares     $ 109.07 $ 109.07    
Debt default threshold principal amount percentage       100.00%    
Debt instrument, default description       The Indenture contains customary events of default with respect to the 2025 Notes and provides that upon certain events of default occurring and continuing, the holders of the 2025 Notes will have the right, at their option, to require the Company to repurchase for cash all or a portion of their outstanding notes, at a price equal to 100% of the principal amount of the 2025 Notes to be repurchased, plus any accrued and unpaid interest.    
Debt instrument, effective interest rate percentage     5.37% 5.37%    
Amortization of debt discount and issuance costs     $ 11,800,000 $ 15,700,000    
Debt instrument, remaining term       4 years 8 months 12 days    
Cost of capped call       $ 87,900,000    
Payment to capped call was recorded as reduction to additional paid-in capital       $ 87,900,000    
Capped call, initial strike price | $ / shares     160.88 160.88    
Capped call, initial cap price | $ / shares     218.14 218.14    
Cap calls cover subject to anti-dilution adjustments to common stock | shares       7,100,000    
2025 Notes | Redeem On or After December 5, 2023            
Debt Instrument [Line Items]            
Debt instrument threshold percentage of conversion price       130.00%    
Redemption period, start date       Dec. 05, 2023    
Number of trading days for conversion of Notes | TradingDay       20    
Number of consecutive trading days for conversion of Notes | TradingDay       30    
Redemption price percentage of principal amount redeemed       100.00%    
Sinking fund       $ 0    
Senior Facilities Agreement            
Debt Instrument [Line Items]            
Line of credit facility, expiration date   Jun. 28, 2022        
Line of credit facility, remaining borrowing capacity     $ 43,100,000 43,100,000    
Senior Facilities Agreement | Letter of Credit            
Debt Instrument [Line Items]            
Line of credit facility, utilization       $ 6,900,000    
Senior Facilities Agreement | Silicon Valley Bank            
Debt Instrument [Line Items]            
Line of credit facility, maximum borrowing capacity   $ 50,000,000.0        
Line of credit facility maximum borrowing capacity subject to certain conditions   $ 25,000,000.0        
Senior Facilities Agreement | Silicon Valley Bank | JP Morgan Chase Bank            
Debt Instrument [Line Items]            
Line of credit facility, maximum borrowing capacity           $ 20,000,000.0