Stockholders' Equity - Additional Information (Detail) - USD ($) |
3 Months Ended | 6 Months Ended | ||||
|---|---|---|---|---|---|---|
Dec. 31, 2024 |
Dec. 31, 2023 |
Dec. 31, 2024 |
Dec. 31, 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 | $ 1,500,000,000 | $ 1,200,000,000 | $ 2,800,000,000 | $ 2,500,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 | |||||
| Unused amount of share repurchase program | $ 4,000,000,000 | $ 4,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 | |||||