v3.22.4
Net Income (Loss) per Share - Computation of Basic and Diluted Net Income (Loss) per Share and Common Stock (Details) - USD ($)
$ / shares in Units, shares in Millions, $ in Millions
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Earnings Per Share [Abstract]      
Net income (loss) $ 1,893 $ (352) $ (4,585)
Add: convertible notes interest expense, net of tax 4 0 0
Net income (loss) - diluted $ 1,897 $ (352) $ (4,585)
Weighted-average shares in computing net income (loss) per share attributable to Class A and Class B common stockholders, basic (in shares) 637 616 284
Weighted-average shares in computing net income (loss) per share attributable to Class A and Class B common stockholders, effect of dilutive securities (in shares) 43 0 0
Weighted-average shares in computing net income (loss) per share attributable to Class A and Class B common stockholders, diluted (in shares) 680 616 284
Net income (loss) per share attributable to Class A and Class B common stockholders, basic (in USD per share) $ 2.97 $ (0.57) $ (16.12)
Net income (loss) per share attributable to Class A and Class B common stockholders, diluted (in USD per share) $ 2.79 $ (0.57) $ (16.12)