XML 87 R70.htm IDEA: XBRL DOCUMENT v3.8.0.1
Net Loss per Share - Potentially Dilutive Shares (Details) - shares
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Potentially dilutive shares not included in diluted per share calculations 10,431 9,669 11,000
Employee and non-employee stock options      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Potentially dilutive shares not included in diluted per share calculations 9,963 9,043 9,316
Warrants to purchase common stock      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Potentially dilutive shares not included in diluted per share calculations   377 377
Restricted stock units      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Potentially dilutive shares not included in diluted per share calculations 389 159  
Employee stock purchase plan      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Potentially dilutive shares not included in diluted per share calculations 79 90  
Common stock subject to repurchase      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Potentially dilutive shares not included in diluted per share calculations     1,307