XML 63 R52.htm IDEA: XBRL DOCUMENT v3.10.0.1
Stock-Based Compensation - Stock Options (Details) - Employee and non-employee stock options - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
6 Months Ended 12 Months Ended
Jun. 30, 2018
Dec. 31, 2017
Stock Based Compensation    
Shares available for grant, beginning balance 4,737  
Additional shares authorized 2,162  
Options granted (in shares) (1,512)  
Options forfeited (in shares) 431  
Shares available for grant, end balance 5,818 4,737
Number of shares    
Outstanding, beginning balance (in shares) 9,963  
Options granted (in shares) 1,512  
Options exercised (in shares) (789)  
Options forfeited (in shares) (431)  
Outstanding, end balance (in shares) 10,255 9,963
Exercisable (in shares) 6,250  
Vested and expected to vest (in shares) 10,024  
Weighted-Average Exercise Price    
Outstanding, beginning balance (in dollars per share) $ 6.54  
Granted (in dollars per share) 9.56  
Exercised (in dollars per share) 5.32  
Forfeited (in dollars per share) 10.91  
Outstanding, end balance (in dollars per share) 6.90 $ 6.54
Exercisable (in dollars per share) 5.01  
Vested and expected to vest (in dollars per share) $ 6.83  
Additional disclosures    
Weighted average contractual term, options outstanding 7 years 11 days 7 years 11 days
Exercisable (in years) 5 years 10 months 21 days  
Vested and expected to vest (in years) 6 years 11 months 23 days  
Aggregate intrinsic value, options outstanding $ 122,326 $ 31,902
Aggregate intrinsic value, options exercisable 86,350  
Aggregate intrinsic value, vested and expected to vest $ 120,254