v3.22.2.2
Net Income (Loss) per Share - Schedule of Computation of Basic and Diluted Net Income (Loss) per Share of Common Stock (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Earnings Per Share [Abstract]        
Net income (loss) $ 1,214,288 $ 833,893 $ 1,574,337 $ (406,535)
Weighted-average shares used in computing net income (loss) per share attributable to Class A and Class B common stockholders, basic (in shares) 638,696 621,012 637,485 611,311
Weighted-average shares used in computing net income (loss) per share attributable to Class A and Class B common stockholders, diluted (in shares) 680,059 681,916 682,791 611,311
Net income (loss) per share attributable to Class A and Class B common stockholders, basic (in USD per share) $ 1.90 $ 1.34 $ 2.47 $ (0.67)
Net income (loss) per share attributable to Class A and Class B common stockholders, diluted (in USD per share) $ 1.79 $ 1.22 $ 2.31 $ (0.67)