Condensed Consolidated Statements of Redeemable Convertible Preferred Stock and Stockholders' Equity (Deficit) (unaudited) (Statement) - USD ($) shares in Thousands, $ in Millions | Total | Common Stock | Additional Paid-in Capital | Accumulated Deficit | Accumulated Other Comprehensive Income (Loss) | Redeemable Convertible Preferred Stock | Series H redeemable convertible preferred stock |
Common stock, outstanding (shares), beginning at Dec. 31, 2019 | | 43,937 | | | | | |
Beginning balance at Dec. 31, 2019 | $ (1,082) | $ 0 | $ 70 | $ (1,152) | $ 0 | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | |
Issuance of common stock upon exercise of stock options (shares) | | 366 | | | | | |
Issuance of common stock upon exercise of stock options | 1 | | 1 | | | | |
Stock-based compensation | 5 | | 5 | | | | |
Other comprehensive income | 3 | | | | 3 | | |
Net income (loss) | (129) | | | (129) | | | |
Common stock, outstanding (shares), ending at Mar. 31, 2020 | | 44,303 | | | | | |
Ending balance at Mar. 31, 2020 | (1,202) | $ 0 | 76 | (1,281) | 3 | | |
Redeemable convertible preferred stock, outstanding (shares), beginning at Dec. 31, 2019 | | | | | | 230,667 | |
Beginning balance at Dec. 31, 2019 | | | | | | $ 2,264 | |
Redeemable convertible preferred stock, outstanding (shares), ending at Mar. 31, 2020 | | | | | | 230,667 | |
Ending balance at Mar. 31, 2020 | | | | | | $ 2,264 | |
Common stock, outstanding (shares), beginning at Dec. 31, 2019 | | 43,937 | | | | | |
Beginning balance at Dec. 31, 2019 | (1,082) | $ 0 | 70 | (1,152) | 0 | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | |
Other comprehensive income | 2 | | | | | | |
Net income (loss) | (106) | $ (106) | | | | | |
Common stock, outstanding (shares), ending at Jun. 30, 2020 | | 44,709 | | | | | |
Ending balance at Jun. 30, 2020 | (1,174) | $ 0 | 82 | (1,258) | 2 | | |
Redeemable convertible preferred stock, outstanding (shares), beginning at Dec. 31, 2019 | | | | | | 230,667 | |
Beginning balance at Dec. 31, 2019 | | | | | | $ 2,264 | |
Redeemable convertible preferred stock, outstanding (shares), ending at Jun. 30, 2020 | | | | | | 238,988 | |
Ending balance at Jun. 30, 2020 | | | | | | $ 2,646 | |
Common stock, outstanding (shares), beginning at Mar. 31, 2020 | | 44,303 | | | | | |
Beginning balance at Mar. 31, 2020 | (1,202) | $ 0 | 76 | (1,281) | 3 | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | |
Issuance of common stock upon exercise of stock options (shares) | | 406 | | | | | |
Issuance of common stock upon exercise of stock options | 1 | | 1 | | | | |
Stock-based compensation | 5 | | 5 | | | | |
Other comprehensive income | (1) | | | | (1) | | |
Net income (loss) | 23 | $ 23 | | 23 | | | |
Common stock, outstanding (shares), ending at Jun. 30, 2020 | | 44,709 | | | | | |
Ending balance at Jun. 30, 2020 | (1,174) | $ 0 | 82 | (1,258) | 2 | | |
Redeemable convertible preferred stock, outstanding (shares), beginning at Mar. 31, 2020 | | | | | | 230,667 | |
Beginning balance at Mar. 31, 2020 | | | | | | $ 2,264 | |
Redeemable convertible preferred stock, outstanding (shares), ending at Jun. 30, 2020 | | | | | | 238,988 | |
Ending balance at Jun. 30, 2020 | | | | | | $ 2,646 | |
Increase (Decrease) in Temporary Equity [Roll Forward] | | | | | | | |
Issuance of redeemable convertible preferred stock, net of issuance costs (shares) | | | | | | | 8,321 |
Issuance of redeemable convertible preferred stock, net of issuance costs | | | | | | | $ 382 |
Common stock, outstanding (shares), beginning at Dec. 31, 2020 | | 318,503 | | | | | |
Beginning balance at Dec. 31, 2020 | 4,700 | $ 0 | 6,313 | (1,613) | 0 | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | |
Issuance of common stock upon settlement of RSUs (shares) | | 1,836 | | | | | |
Shares withheld related to net share settlement (shares) | | (802) | | | | | |
Shares withheld related to net share settlement | (166) | | (166) | | | | |
Issuance of common stock upon exercise of stock options (shares) | | 5,989 | | | | | |
Issuance of common stock upon exercise of stock options | 13 | | 13 | | | | |
Stock-based compensation | 118 | | 118 | | | | |
Net income (loss) | (110) | | | (110) | | | |
Common stock, outstanding (shares), ending at Mar. 31, 2021 | | 325,526 | | | | | |
Ending balance at Mar. 31, 2021 | 4,555 | $ 0 | 6,278 | (1,723) | 0 | | |
Common stock, outstanding (shares), beginning at Dec. 31, 2020 | | 318,503 | | | | | |
Beginning balance at Dec. 31, 2020 | $ 4,700 | $ 0 | 6,313 | (1,613) | 0 | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | |
Issuance of common stock upon exercise of stock options (shares) | 9,975 | | | | | | |
Other comprehensive income | $ 0 | | | | | | |
Net income (loss) | (212) | | | | | | |
Common stock, outstanding (shares), ending at Jun. 30, 2021 | | 337,524 | | | | | |
Ending balance at Jun. 30, 2021 | 4,619 | $ 0 | 6,444 | (1,825) | 0 | | |
Common stock, outstanding (shares), beginning at Mar. 31, 2021 | | 325,526 | | | | | |
Beginning balance at Mar. 31, 2021 | 4,555 | $ 0 | 6,278 | (1,723) | 0 | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | |
Issuance of common stock upon settlement of RSUs (shares) | | 8,056 | | | | | |
Shares withheld related to net share settlement (shares) | | (44) | | | | | |
Shares withheld related to net share settlement | (6) | | (6) | | | | |
Issuance of common stock upon exercise of stock options (shares) | | 3,986 | | | | | |
Issuance of common stock upon exercise of stock options | 10 | | 10 | | | | |
Stock-based compensation | 162 | | 162 | | | | |
Other comprehensive income | 0 | | | | | | |
Net income (loss) | (102) | | | (102) | | | |
Common stock, outstanding (shares), ending at Jun. 30, 2021 | | 337,524 | | | | | |
Ending balance at Jun. 30, 2021 | $ 4,619 | $ 0 | $ 6,444 | $ (1,825) | $ 0 | | |