v3.22.0.1
DESCRIPTION OF BUSINESS AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Narrative (Details)
12 Months Ended
Aug. 31, 2021
shares
Aug. 02, 2021
USD ($)
class
$ / shares
shares
Dec. 31, 2021
USD ($)
segment
day
class
period
$ / shares
shares
Dec. 31, 2020
USD ($)
shares
Dec. 31, 2019
USD ($)
Subsidiary, Sale of Stock [Line Items]          
Proceeds from issuance of common stock in connection with initial public offering, net of offering costs | $     $ 2,052,382,000 $ 0 $ 0
Common stock, shares authorized (in shares)     0 777,354,000  
Preferred stock, shares authorized (in shares)     210,000,000 0  
Number of classes of common stock | class     3    
Number of operating segments | segment     1    
Revenue contract term     30 days    
Advertising costs | $     $ 100,500,000 $ 78,200,000 90,900,000
Defined contribution plan, employer matching contribution, percent of match     3.00%    
Expense incurred related to defined contribution 401(k) plan | $     $ 9,500,000 3,500,000 1,000,000
Research and development expense | $     $ 437,600,000 52,200,000 $ 27,700,000
Number of service periods | period     2    
Restricted cash, current | $     $ 700,000 0  
Short-term settlement, period     30 days    
Threshold period past due, writeoff     180 days    
Realized and unrealized gains and losses | $     $ 11,500,000 3,000,000  
Prepaid expense, current | $     $ 92,000,000 28,600,000  
Referral program claim period     60 days    
Prepaid expense, noncurrent | $     $ 43,600,000 $ 8,200,000  
Number of business days | day     3    
Stock options          
Subsidiary, Sale of Stock [Line Items]          
Dividend yield     0.00% 0.00% 0.00%
Time-Based RSUs          
Subsidiary, Sale of Stock [Line Items]          
Requisite service period     4 years    
Market-Based RSUs          
Subsidiary, Sale of Stock [Line Items]          
Requisite service period     6 years    
IPO          
Subsidiary, Sale of Stock [Line Items]          
Proceeds from issuance of common stock in connection with initial public offering, net of offering costs | $   $ 2,050,000,000.00      
Underwriting discounts and commissions | $   90,800,000      
Deferred offering costs | $   $ 12,600,000      
Preferred stock, shares authorized (in shares)   210,000,000      
Conversion of convertible preferred stock (in shares)   412,700,000      
Conversion of convertible Common Stock (in shares)   233,300,000      
Number of classes of common stock | class   3      
Issuance of common stock upon settlement of restricted stock units, net of shares withheld | $   $ 1,010,000,000.00      
Share-based payment arrangement, shares withheld for tax withholding obligation (in shares)   24,600,000      
Common Class A          
Subsidiary, Sale of Stock [Line Items]          
Common stock, shares authorized (in shares)     21,000,000,000 0  
Common Class A | IPO          
Subsidiary, Sale of Stock [Line Items]          
Shares issued (in shares)   55,000,000      
Offering price in IPO (in dollars per share) | $ / shares   $ 38.00      
Common stock, shares authorized (in shares)   21,000,000,000      
Conversion of stock, shares converted (in shares)   130,200,000      
Convertible notes converted to common stock (in shares)   137,300,000      
Exercise price (in dollars per share) | $ / shares   $ 26.60 $ 26.60    
Aggregate warrants exercisable (in shares)   14,300,000 14,300,000    
Restricted stock, shares issued for tax withholdings (in shares)   10,800,000      
Common Class A | IPO - Shares from Existing Shareholders          
Subsidiary, Sale of Stock [Line Items]          
Shares issued (in shares)   2,600,000      
Common Class A | Over-Allotment Option          
Subsidiary, Sale of Stock [Line Items]          
Shares issued (in shares) 4,400,000        
Common Class B          
Subsidiary, Sale of Stock [Line Items]          
Common stock, shares authorized (in shares)     700,000,000 0  
Common Class B | IPO          
Subsidiary, Sale of Stock [Line Items]          
Common stock, shares authorized (in shares)   700,000,000      
Common Class C          
Subsidiary, Sale of Stock [Line Items]          
Common stock, shares authorized (in shares)     7,000,000,000 0  
Common Class C | IPO          
Subsidiary, Sale of Stock [Line Items]          
Common stock, shares authorized (in shares)   7,000,000,000