v3.26.1
The Company and Its Significant Accounting Policies - Offering of Convertible Notes (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 06, 2024
May 29, 2024
Mar. 06, 2024
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Sep. 24, 2021
Nov. 30, 2020
Organization Consolidation Basis Of Presentation Business Description And Accounting Policies [Line Items]                
Payments for notes       $ 0 $ 92,960 $ 0    
Aggregate cash repurchase price       33,463 539,403 933,187    
Repurchase of common stock $ 200,000     $ 560,485 $ 430,002 $ 211,902    
2030 Notes, principal                
Organization Consolidation Basis Of Presentation Business Description And Accounting Policies [Line Items]                
Debt instrument, aggregate principal amount $ 1,400,000              
Debt stated percentage 0.00%     0.00%        
Proceeds from issuance of convertible senior notes $ 1,380,000              
Payments for notes 93,000     $ 130,900        
2025 Notes, principal                
Organization Consolidation Basis Of Presentation Business Description And Accounting Policies [Line Items]                
Debt instrument, aggregate principal amount               $ 1,150,000
Debt stated percentage       0.00%       0.00%
Aggregate cash repurchase price 130,800 $ 221,600 $ 711,000          
2027 Notes, principal                
Organization Consolidation Basis Of Presentation Business Description And Accounting Policies [Line Items]                
Debt instrument, aggregate principal amount             $ 575,000  
Debt stated percentage       0.00%     0.00%  
Payments for notes       $ 130,900        
Aggregate cash repurchase price $ 408,600