Summary of Significant Accounting Policies - Schedule of Potentially Dilutive Shares that were Excluded from Computation of Diluted Net Income (Loss) per Share of Common Stock (Detail) - shares shares in Millions |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Jun. 30, 2020 |
Jun. 30, 2019 |
Jun. 30, 2020 |
Jun. 30, 2019 |
|
| Stock-based awards [Member] | ||||
| Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | ||||
| Potential common shares excluded from computation of net income (loss) per share | 0 | 13 | 0 | 12 |
| Convertible senior notes [Member] | ||||
| Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | ||||
| Potential common shares excluded from computation of net income (loss) per share | 0 | 1 | 0 | 1 |