XML 31 R18.htm IDEA: XBRL DOCUMENT v3.7.0.1
Summary of Significant Accounting Policies - Summary of Outstanding Potentially Dilutive Securities Excluded from Calculation of Diluted Net Loss Per Share (Detail) - shares
3 Months Ended 6 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Jun. 30, 2017
Jun. 30, 2016
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]        
Anti-dilutive securities excluded from the calculation of diluted net loss per share 4,158,901 1,447,777 4,577,620 1,450,537
Common stock subject to repurchase [Member]        
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]        
Anti-dilutive securities excluded from the calculation of diluted net loss per share 45,000 45,000 45,000 45,000
Warrants to purchase common stock [Member]        
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]        
Anti-dilutive securities excluded from the calculation of diluted net loss per share 1,970,492 118,881 2,384,026 118,881
Common stock options [Member]        
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]        
Anti-dilutive securities excluded from the calculation of diluted net loss per share 2,131,624 1,275,624 2,131,624 1,275,624
Employee stock purchase plan [Member]        
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]        
Anti-dilutive securities excluded from the calculation of diluted net loss per share 11,785 8,272 16,970 11,032