Equity Incentive Plans - Summary of Stock-Based Compensation Expense (Detail) - USD ($) $ in Millions |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Jun. 30, 2024 |
Jun. 30, 2023 |
Jun. 30, 2024 |
Jun. 30, 2023 |
|
| Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | ||||
| Total | $ 439 | $ 445 | $ 963 | $ 863 |
| Cost of revenues | ||||
| Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | ||||
| Total | 180 | 181 | 382 | 373 |
| Research and development | ||||
| Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | ||||
| Total | 169 | 168 | 381 | 302 |
| Selling, general and administrative | ||||
| Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | ||||
| Total | 88 | 96 | 198 | 188 |
| Restructuring and other | ||||
| Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | ||||
| Total | $ 2 | $ 0 | $ 2 | $ 0 |