Condensed Consolidated Statements of Redeemable Convertible Preferred Stock and Stockholders' Equity (Deficit) (unaudited) - 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 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 | 1 | | | | | | |
Net loss | (149) | $ (149) | | | | | |
Common stock, outstanding (shares), ending at Sep. 30, 2020 | | 45,382 | | | | | |
Ending balance at Sep. 30, 2020 | (1,213) | $ 0 | 87 | (1,301) | 1 | | |
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 Sep. 30, 2020 | | | | | | 238,988 | |
Ending balance at Sep. 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 loss | 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 |
Issuance of common stock upon exercise of stock options (shares) | | 673 | | | | | |
Issuance of common stock upon exercise of stock options | 2 | | 2 | | | | |
Stock-based compensation | 3 | | 3 | | | | |
Other comprehensive income | (1) | | | | (1) | | |
Net loss | (43) | $ (43) | | (43) | | | |
Common stock, outstanding (shares), ending at Sep. 30, 2020 | | 45,382 | | | | | |
Ending balance at Sep. 30, 2020 | (1,213) | $ 0 | 87 | (1,301) | 1 | | |
Redeemable convertible preferred stock, outstanding (shares), ending at Sep. 30, 2020 | | | | | | 238,988 | |
Ending balance at Sep. 30, 2020 | | | | | | $ 2,646 | |
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 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) | 12,346 | | | | | | |
Other comprehensive income | $ 0 | | | | | | |
Net loss | (313) | | | | | | |
Common stock, outstanding (shares), ending at Sep. 30, 2021 | | 342,423 | | | | | |
Ending balance at Sep. 30, 2021 | 4,666 | $ 0 | 6,592 | (1,926) | 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 | | | | |
Net 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 | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | |
Issuance of common stock upon settlement of RSUs (shares) | | 2,528 | | | | | |
Issuance of common stock upon exercise of stock options (shares) | | 2,371 | | | | | |
Issuance of common stock upon exercise of stock options | 5 | | 5 | | | | |
Stock-based compensation | 143 | | 143 | | | | |
Other comprehensive income | 0 | | | | | | |
Net loss | (101) | | | (101) | | | |
Common stock, outstanding (shares), ending at Sep. 30, 2021 | | 342,423 | | | | | |
Ending balance at Sep. 30, 2021 | $ 4,666 | $ 0 | $ 6,592 | $ (1,926) | $ 0 | | |