Quarterly report pursuant to Section 13 or 15(d)

Summary of Significant Accounting Policies - Schedule of Reconciliations of Numerators and Denominators of Basic and Diluted Net (Loss) Income Per Share (Details)

v3.22.2
Summary of Significant Accounting Policies - Schedule of Reconciliations of Numerators and Denominators of Basic and Diluted Net (Loss) Income Per Share (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2022
Mar. 31, 2022
Jun. 30, 2021
Mar. 31, 2021
Jun. 30, 2022
Jun. 30, 2021
Numerator:            
Net income $ 35,659 $ 35,488 $ (110,300) $ 24,584 $ 71,147 $ (85,716)
Denominator:            
Weighted-average common shares outstanding - basic 302,666,291   264,274,968   301,803,664 263,218,870
Effect of potentially dilutive securities:            
Weighted Average Number Diluted Shares Outstanding Adjustment 327,229,531,000   264,274,968,000   328,205,776,000 263,218,870,000
Weighted-average common shares outstanding - diluted 327,229,531   264,274,968   328,205,776 263,218,870
Net income per share - basic $ 0.12   $ (0.42)   $ 0.24 $ (0.33)
Net income per share - diluted $ 0.11   $ (0.42)   $ 0.22 $ (0.33)
Stock Options            
Effect of potentially dilutive securities:            
Weighted Average Number Diluted Shares Outstanding Adjustment 23,912,934,000   0   25,461,476,000 0
Restricted Stock Units            
Effect of potentially dilutive securities:            
Weighted Average Number Diluted Shares Outstanding Adjustment 648,060,000   0   939,513,000 0
Employee Stock Purchase Plan            
Effect of potentially dilutive securities:            
Weighted Average Number Diluted Shares Outstanding Adjustment 2,246,000   0   1,123,000 0