v3.22.4
Stockholders' Equity - Stock Plans Narrative (Details) - USD ($)
$ / shares in Units, $ in Thousands
1 Months Ended 12 Months Ended
Sep. 17, 2015
Oct. 31, 2011
Jan. 31, 2005
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Number of options unvested and subject to repurchase (in shares)       0 0  
Intrinsic value of options exercised in period       $ 48,200 $ 81,100 $ 70,100
Issuance of common stock under employee stock purchase plan (in shares)       113,893 64,852 77,528
Issuance of common stock under employee stock purchase plan       $ 13,766 $ 13,705 $ 11,300
Unrecognized compensation cost related to unvested share-based compensation arrangements       $ 101,500    
Unrecognized compensation cost, expected recognition period       3 years 1 month 6 days    
Share-based compensation expense capitalized in inventory       $ 2,200 $ 1,800 1,200
Stock Options            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Weighted average grant date fair value of stock options (in dollars per share)       $ 197.74 $ 263.09  
Restricted Stock and Restricted Stock Units (RSUs)            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Fair value of restricted stock vested       $ 28,100 $ 44,500 $ 32,100
Expected to vest (in shares)       468,337    
Employee Stock Purchase Plan            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Shares of common stock reserved for future issuance (in shares) 600,000     839,422    
Minimum percent of eligible compensation per pay period to be used to purchase shares under plan 1.00%          
Maximum percent of eligible compensation per pay period to be used to purchase shares under plan 15.00%          
Purchase price of common stock, percent of fair market value 85.00%          
Maximum number of shares that may be purchased by any one employee (in shares) 2,000          
Maximum value of shares that may be purchased by any one employee $ 25          
2005 Stock Plan | Stock Options | Vesting after 1 year            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Award vesting rate       25.00%    
2005 Stock Plan | Stock Options | Vesting thereafter, per month            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Award vesting rate       2.00%    
2005 Stock Plan | Incentive Stock Options (ISO)            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Minimum voting rights for determination of exercise price, percent     10.00%      
Minimum exercise price, percent over fair market value     110.00%      
Shares transferred to different plan (in shares) 564          
Shares of common stock reserved for future issuance (in shares)       8,622    
2005 Stock Plan | Incentive Stock Options (ISO) | Maximum            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Term of award (in years)     5 years      
2005 Stock Plan | Other Options | Maximum            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Term of award (in years)     10 years      
2011 Equity Incentive Plan | Stock Options            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Term of award (in years)   10 years        
Shares transferred to different plan (in shares) 89,559          
Shares of common stock reserved for future issuance (in shares)       58,000    
Award vesting period (in years)   4 years        
2011 Equity Incentive Plan | Incentive Stock Options (ISO)            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Minimum voting rights for determination of exercise price, percent   10.00%        
Minimum exercise price, percent over fair market value   110.00%        
2014 Equity Incentive Plan            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Shares of common stock reserved for future issuance (in shares)       7,321,161    
Number of shares available for grant (in shares)       6,050,161