v3.26.1
Convertible Notes - Narrative (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 9 Months Ended
Jun. 23, 2025
USD ($)
day
$ / shares
Feb. 20, 2025
USD ($)
day
$ / shares
Feb. 29, 2024
day
$ / shares
Mar. 31, 2026
USD ($)
$ / shares
Mar. 31, 2025
USD ($)
Mar. 31, 2026
USD ($)
$ / shares
Mar. 31, 2025
USD ($)
Jun. 30, 2025
USD ($)
Feb. 28, 2025
$ / shares
Feb. 27, 2024
USD ($)
Debt Instrument [Line Items]                    
Loss on extinguishment of debt           $ 0 $ 30,251      
2029 Convertible Notes | Convertible Notes Payable                    
Debt Instrument [Line Items]                    
Principal (in millions)       $ 1,725,000   $ 1,725,000       $ 1,725,000
Interest rate, stated percentage                   0.00%
Coupon interest   3.50%   3.50%   3.50%        
Conversion price ratio   0.0119842                
Conversion price | $ / shares   $ 83.44   $ 83.44   $ 83.44        
Loss on extinguishment of debt         $ 30,300          
Convertible conversion percentage     130.00%              
Unamortized issuance costs       $ 17,200   $ 17,200   $ 21,300    
Interest expense       16,500 8,200 49,400 8,200      
Amortization of debt issuance costs       1,400 800 4,100 800      
Capped call initial strike price (in dollars per share) | $ / shares     $ 134.14              
Capped call strike price (in dollars per share) | $ / shares     $ 195.10              
Cap price (in dollars per share) | $ / shares                 $ 94.17  
2029 Convertible Notes | Convertible Notes Payable | Debt Covenant, Redemption Option One                    
Debt Instrument [Line Items]                    
Trading days | day     20              
Convertible, threshold consecutive trading days | day     30              
2029 Convertible Notes | Convertible Notes Payable | Debt Covenant, Redemption Option Two                    
Debt Instrument [Line Items]                    
Convertible conversion percentage     98.00%              
2028 Convertible Notes | Convertible Notes Payable                    
Debt Instrument [Line Items]                    
Principal (in millions)   $ 700,000   $ 700,000   $ 700,000        
Coupon interest   2.25%   2.25%   2.25%        
Conversion price ratio   0.0163784                
Conversion price | $ / shares   $ 61.06   $ 61.06   $ 61.06        
Convertible conversion percentage   150.00%                
Unamortized issuance costs       $ 11,100   $ 11,100   14,600    
Interest expense       5,100 1,800 15,300 1,800      
Amortization of debt issuance costs       1,200 $ 500 3,500 $ 500      
Percentage of principal repaid upon request following fundamental change   100.00%                
2028 Convertible Notes | Convertible Notes Payable | Debt Covenant, Redemption Option One                    
Debt Instrument [Line Items]                    
Convertible conversion percentage   130.00%                
Trading days | day   20                
Convertible, threshold consecutive trading days | day   30                
2028 Convertible Notes | Convertible Notes Payable | Debt Covenant, Redemption Option Two                    
Debt Instrument [Line Items]                    
Convertible conversion percentage   98.00%                
Trading days | day   5                
Convertible, threshold consecutive trading days | day   5                
2030 Convertible Notes | Convertible Notes Payable                    
Debt Instrument [Line Items]                    
Principal (in millions) $ 2,300,000     $ 2,300,000   $ 2,300,000        
Coupon interest 0.00%     0.00%   0.00%        
Conversion price ratio 0.0181154                  
Conversion price | $ / shares $ 55.20     $ 55.20   $ 55.20        
Unamortized issuance costs       $ 37,300   $ 37,300   $ 43,900    
Amortization of debt issuance costs       $ 2,200   $ 6,600        
Capped call strike price (in dollars per share) | $ / shares $ 81.78                  
Proceeds from convertible debt $ 2,256,000                  
Premium of capped call 100.00%                  
Share price milestone (in dollars per share) | $ / shares $ 40.89                  
2030 Convertible Notes | Convertible Notes Payable | Debt Covenant, Redemption Option One                    
Debt Instrument [Line Items]                    
Convertible conversion percentage 130.00%                  
Trading days | day 20                  
Convertible, threshold consecutive trading days | day 30                  
2030 Convertible Notes | Convertible Notes Payable | Debt Covenant, Redemption Option Two                    
Debt Instrument [Line Items]                    
Convertible conversion percentage 98.00%                  
Convertible, threshold consecutive trading days | day 5                  
Convertible Senior Notes Due 2030, Overallotment Option | Convertible Notes Payable                    
Debt Instrument [Line Items]                    
Principal (in millions) $ 300,000