Annual report pursuant to Section 13 and 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.1
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
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Numerator:      
Net (loss) income $ (22,045) $ 60,403 $ 920
Weighted-average common shares outstanding:      
Basic 280,215,579 261,773,267 260,479,344
Effect of potentially dilutive securities:      
Weighted Average Number Diluted Shares Outstanding Adjustment   275,920,367  
Diluted 280,215,579 275,920,367 272,453,855
Basic $ (0.08) $ 0.23 $ 0.00
Diluted $ (0.08) $ 0.22 $ 0.00
Stock Options      
Effect of potentially dilutive securities:      
Weighted Average Number Diluted Shares Outstanding Adjustment 14,147,100 11,974,511
Restricted Stock Units      
Effect of potentially dilutive securities:      
Weighted Average Number Diluted Shares Outstanding Adjustment   0
Employee Stock Purchase Plan      
Effect of potentially dilutive securities:      
Weighted Average Number Diluted Shares Outstanding Adjustment   0