Stockholders' Equity - Additional Information (Detail) - USD ($) |
3 Months Ended | |||
|---|---|---|---|---|
Sep. 30, 2021 |
Sep. 30, 2020 |
Sep. 14, 2021 |
Sep. 18, 2019 |
|
| Share Repurchases [Line Items] | ||||
| Amount of shares repurchased to settle employee tax withholding related to vesting of stock awards | $ 1,500,000,000 | $ 1,500,000,000 | ||
| Share Repurchase Program 2019 | ||||
| Share Repurchases [Line Items] | ||||
| Amount available for repurchase under the share repurchase program approved by the company's Board of Directors | $ 40,000,000,000.0 | |||
| Unused amount of share repurchase program | $ 2,500,000,000 | |||
| Share Repurchase Program 2021 | ||||
| Share Repurchases [Line Items] | ||||
| Amount available for repurchase under the share repurchase program approved by the company's Board of Directors | $ 60,000,000,000.0 | |||