v3.22.2.2
Redeemable Convertible Preferred Stock and Stockholders’ Equity - Common Stock Outstanding (Details) - shares
Sep. 30, 2022
Dec. 31, 2021
Class of Stock [Line Items]    
Employee stock options - outstanding (in shares) 3,157,931 3,623,377
Authorized (in shares) 1,050,000,000  
Employee Stock Purchase Plan    
Class of Stock [Line Items]    
Total common stock – outstanding or issuable on exercise of options (in shares) 3,244,066  
Series A common stock    
Class of Stock [Line Items]    
Common stock outstanding (in shares) 95,756,249 94,901,623
Employee stock options - outstanding (in shares) 1,160,829  
Shares of Class A common stock issuable upon conversion of all outstanding Class B common stock, options, RSUs, and PSUs (in shares) 27,523,128  
Total common stock – outstanding or issuable on exercise of options (in shares) 146,067,078  
Authorized (in shares) 750,000,000 750,000,000
Common stock available for future issuance (in shares) 603,932,922  
Series A common stock | Restricted stock units (RSUs)    
Class of Stock [Line Items]    
Stock units - outstanding (in shares) 1,573,131  
Series A common stock | Performance Stock Units    
Class of Stock [Line Items]    
Stock units - outstanding (in shares) 0  
Series A common stock | Employee Stock Purchase Plan    
Class of Stock [Line Items]    
Employee stock options - available (in shares) 20,053,741  
Series B common stock    
Class of Stock [Line Items]    
Common stock outstanding (in shares) 19,103,020 18,719,184
Employee stock options - outstanding (in shares) 1,997,102  
Shares of Class A common stock issuable upon conversion of all outstanding Class B common stock, options, RSUs, and PSUs (in shares) 0  
Total common stock – outstanding or issuable on exercise of options (in shares) 27,523,128  
Authorized (in shares) 150,000,000 150,000,000
Common stock available for future issuance (in shares) 122,476,872  
Series B common stock | Restricted stock units (RSUs)    
Class of Stock [Line Items]    
Stock units - outstanding (in shares) 2,025,318  
Series B common stock | Performance Stock Units    
Class of Stock [Line Items]    
Stock units - outstanding (in shares) 4,397,688  
Series B common stock | Employee Stock Purchase Plan    
Class of Stock [Line Items]    
Employee stock options - available (in shares) 0  
Series C common stock    
Class of Stock [Line Items]    
Common stock outstanding (in shares) 0  
Employee stock options - outstanding (in shares) 0  
Shares of Class A common stock issuable upon conversion of all outstanding Class B common stock, options, RSUs, and PSUs (in shares) 0  
Total common stock – outstanding or issuable on exercise of options (in shares) 0  
Authorized (in shares) 150,000,000  
Common stock available for future issuance (in shares) 150,000,000  
Series C common stock | Restricted stock units (RSUs)    
Class of Stock [Line Items]    
Stock units - outstanding (in shares) 0  
Series C common stock | Performance Stock Units    
Class of Stock [Line Items]    
Stock units - outstanding (in shares) 0  
Series C common stock | Employee Stock Purchase Plan    
Class of Stock [Line Items]    
Employee stock options - available (in shares) 0