v3.24.0.1
Stock-Based Compensation - Additional Information (Details) - USD ($)
$ / shares in Units, $ in Millions
1 Months Ended 3 Months Ended 12 Months Ended
May 12, 2023
Sep. 11, 2020
Sep. 11, 2020
Oct. 31, 2023
Dec. 31, 2022
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Nov. 20, 2023
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Employee stock purchase offerings (in shares)           320,000      
Weighted-average grant date fair value of stock options granted (in usd per share)           $ 3.70 $ 5.41 $ 18.81  
Aggregate intrinsic value of options exercised           $ 5.8 $ 18.2 $ 244.4  
Fair value of stock options vested           $ 28.8 14.6 15.3  
Weighted-average period over which cost is expected to be recognized           2 years 7 months 6 days      
Payment, tax withholding       $ 44.5          
Stock Options                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Stock options exercised (in shares)           1,828,000      
Award vesting percentage           25.00%      
Term of stock option           10 years      
Granted (in shares)           10,445,000      
Stock-based compensation expense           $ 26.1 12.7 14.3  
Unrecognized stock-based compensation cost           $ 51.9      
Stock Options | First Anniversary of the Vesting Commencement Date, and Thereafter Ratably Monthly Over the Remaining Period                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Vesting period           3 years      
Restricted Stock                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Fair value of RSAs and RSUs vested           $ 137.5 121.5 95.8  
Restricted Stock Units ("RSUs")                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Stock-based compensation expense           $ 528.9      
Restricted Stock Awards                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Weighted-average grant date fair value of stock options granted (in usd per share)           $ 3.88      
Restricted shares granted (in shares)           0      
Shares vested (in shares)           469,000      
Refresh Employee Stock Option                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Vesting period           4 years      
Common Class A                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Stock price (in usd per share)                 $ 5.76
Common Class A | Co-Chief Executive Officers                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Granted (in shares) 3,000,000                
Granted fair value $ 9.6                
Common Class A | Restricted Stock Units ("RSUs")                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Award vesting percentage           25.00%      
Vesting period           3 years      
Stock-based compensation expense           $ 57.0 61.2 53.5  
Unrecognized stock-based compensation cost           $ 173.2      
Weighted-average period over which cost is expected to be recognized           2 years 10 months 24 days      
Common Class B                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Shares for tax withholding obligations       8,100,000          
Shares issued in period (in shares)       7,600,000          
Common Class B | Restricted Stock Units ("RSUs")                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Stock-based compensation expense           $ 20.5 $ 44.5 $ 90.9  
Grant date fair value   $ 533.3              
Common Class B | Restricted Stock Units ("RSUs") | Co-Chief Executive Officers                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Restricted shares granted (in shares)   24,600,000              
Common Class B | Restricted Stock Units ("RSUs") Performance-Vesting Founders Awards                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Stock-based compensation expense           319.8      
Shares for tax withholding obligations         700,000        
Remaining shares not issued until three years from vesting date (in shares)       15,700,000          
Common Class B | Restricted Stock Units ("RSUs") Performance-Vesting Founders Awards | Co-Chief Executive Officers                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Shares vested (in shares)   8,200,000              
Common Class B | Restricted Stock Units ("RSUs") Time-Vesting Founders Awards                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Stock-based compensation expense           209.1      
Unrecognized stock-based compensation cost           $ 4.4      
Common Class B | Restricted Stock Units ("RSUs") Time-Vesting Founders Awards | Co-Chief Executive Officers                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Vesting period   4 years              
Shares vested and settled (in shares)     4,100,000            
2020 Equity Incentive Plan                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Common stock, shares available for issuance (in shares)           61,900,000      
2020 Equity Incentive Plan | Common Class A And Common Class B                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Percentage of shares issued on common stock outstanding           5.00%      
2020 Equity Incentive Plan | Common Class A And Common Class B | Maximum                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Stock options exercised (in shares)           300,000,000      
2020 Employee Stock Purchase Plan                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Common stock, shares available for issuance (in shares)           20,600,000      
2020 Employee Stock Purchase Plan | Common Class A                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Purchase price of shares as a percentage of fair market value           85.00%      
2020 Employee Stock Purchase Plan | Common Class A | Maximum                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Common stock, shares available for issuance (in shares)           100,000,000