XML 94 R79.htm IDEA: XBRL DOCUMENT v3.22.1
Net (Loss) Income Per Share Attributable to Common Stockholders - Antidilutive Securities (Details) - shares
shares in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Total 18,997 14,864 8,340
Options to purchase common stock      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Total 15,274 12,529 7,256
Restricted stock units      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Total 3,577 2,235 884
Employee stock purchase plan      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Total 96 0 0
Restricted stock      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Total 50 100 200