v3.25.2
Stockholders' Equity - Additional Information (Detail) - USD ($)
12 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Jun. 30, 2023
Sep. 16, 2024
Sep. 14, 2021
Share Repurchase Program [Line Items]          
Amount of shares repurchased to settle employee tax withholding related to vesting of stock awards $ 5,400,000,000 $ 5,300,000,000 $ 3,800,000,000    
Share Repurchase Program 2021          
Share Repurchase Program [Line Items]          
Amount available for repurchase under the share repurchase program approved by the company's Board of Directors         $ 60,000,000,000
Share Repurchase Program 2024          
Share Repurchase Program [Line Items]          
Amount available for repurchase under the share repurchase program approved by the company's Board of Directors       $ 60,000,000,000  
Unused amount of share repurchase program $ 57,300,000,000