Quarterly report pursuant to Section 13 or 15(d)

Equity and Equity Compensation Plans - Narrative (Details)

v3.22.2
Equity and Equity Compensation Plans - Narrative (Details) - USD ($)
$ / shares in Units, $ in Thousands
6 Months Ended
Jul. 27, 2017
Jun. 30, 2022
Dec. 31, 2021
Jul. 26, 2017
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Common stock, authorized (in shares)   500,000,000 500,000,000  
Common stock, par value (in dollars per share)   $ 0.001 $ 0.001  
Temporary equity, shares authorized (in shares)   10,000,000 10,000,000  
Temporary equity, par value (in dollars per share)   $ 0.001 $ 0.001  
2004 Equity Incentive Plan        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Expected life (years)   10 years    
Award vesting period (years)   4 years    
2017 Equity Incentive Plan        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Common stock reserved (in shares)   27,675,944 23,842,290 7,898,159
Expected life (years)   10 years    
Percentage of common stock, outstanding   5.00%    
Restricted stock units outstanding (in shares)   10,152,284 4,617,425  
2017 Employee Stock Purchase Plan        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Common stock reserved (in shares)   4,107,452 3,705,419  
Employee stock | 2004 Equity Incentive Plan        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Common stock reserved (in shares)   0    
Employee stock | 2017 Employee Stock Purchase Plan        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Common stock reserved (in shares) 1,600,000      
Percentage of common stock, outstanding 1.00%      
Purchase price of common stock, percentage of market price of common stock   85.00%    
Performance Restricted Stock Units        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Restricted stock units outstanding (in shares)   616,731    
Achievement percentage of performance conditions   100.00%    
Restricted Stock Units (RSUs)        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Unrecognized stock-based compensation   $ 170,956    
Unrecognized compensation expense, period for recognition (years)   3 years 2 months 23 days    
Restricted stock units outstanding (in shares)   10,152,284 4,617,425  
Minimum | 2017 Equity Incentive Plan        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Award vesting period (years)   2 years    
Minimum | Performance Restricted Stock Units        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Percentage of target amount   0.00%    
Maximum | 2017 Equity Incentive Plan        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Award vesting period (years)   4 years    
Maximum | Performance Restricted Stock Units        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Percentage of target amount   200.00%