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 |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2020 |
Dec. 31, 2019 |
Dec. 31, 2018 |
|
| 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 | 2 | 50 | 50 |
| 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 | 1 | 5 | 7 |
| Warrants [Member] | |||
| Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | |||
| Potential common shares excluded from computation of net income (loss) per share | 1 | ||