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.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 9 Months Ended
Sep. 30, 2022
Jun. 30, 2022
Mar. 31, 2022
Sep. 30, 2021
Jun. 30, 2021
Mar. 31, 2021
Sep. 30, 2022
Sep. 30, 2021
Numerator:                
Net income $ 23,997 $ 35,659 $ 35,488 $ 27,366 $ (110,300) $ 24,584 $ 95,144 $ (58,350)
Denominator:                
Weighted-average common shares outstanding - basic 304,290,590     296,360,660     302,641,749 274,387,532
Effect of potentially dilutive securities:                
Weighted Average Number Diluted Shares Outstanding Adjustment 326,881,152,000     327,320,169,000     327,773,344,000 274,387,532,000
Weighted-average common shares outstanding - diluted 326,881,152     327,320,169     327,773,344 274,387,532
Net income per share - basic $ 0.08     $ 0.09     $ 0.31 $ (0.21)
Net income per share - diluted $ 0.07     $ 0.08     $ 0.29 $ (0.21)
Stock Options                
Effect of potentially dilutive securities:                
Weighted Average Number Diluted Shares Outstanding Adjustment 22,377,790,000     30,251,223,000     24,433,580,000 0
Restricted Stock Units                
Effect of potentially dilutive securities:                
Weighted Average Number Diluted Shares Outstanding Adjustment 154,987,000     652,019,000     678,005,000 0
Employee Stock Purchase Plan                
Effect of potentially dilutive securities:                
Weighted Average Number Diluted Shares Outstanding Adjustment 57,785,000     56,267     20,010,000 0