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.21.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, 2021
Jun. 30, 2021
Mar. 31, 2021
Sep. 30, 2020
Jun. 30, 2020
Mar. 31, 2020
Sep. 30, 2021
Sep. 30, 2020
Numerator:                
Net (loss) income $ 27,366 $ (110,300) $ 24,584 $ 19,869 $ (8,754) $ 8,860 $ (58,350) $ 19,975
Denominator:                
Weighted-average common shares outstanding - basic 296,360,660     261,863,586     274,387,532 261,784,795
Effect of potentially dilutive securities:                
Weighted-average common shares outstanding - diluted 327,320,169     274,111,695     274,387,532 273,994,569
Net (loss) income per share - basic $ 0.09     $ 0.08     $ (0.21) $ 0.08
Net (loss) income per share - diluted $ 0.08     $ 0.07     $ (0.21) $ 0.07
Stock Options                
Effect of potentially dilutive securities:                
Weighted Average Number DilutedShares Outstanding Adjustment 30,251,223     12,248,109     0 12,209,774
Restricted Stock Units                
Effect of potentially dilutive securities:                
Weighted Average Number DilutedShares Outstanding Adjustment 652,019     0     0 0
Employee Stock Purchase Plan                
Effect of potentially dilutive securities:                
Weighted Average Number DilutedShares Outstanding Adjustment 56,267     0     0 0