Annual report pursuant to Section 13 and 15(d)

Stockholders' Equity - Schedule of Reserved Shares of Common Stock for Future Issuance (Detail)

v3.19.1
Stockholders' Equity - Schedule of Reserved Shares of Common Stock for Future Issuance (Detail) - shares
Dec. 31, 2018
Dec. 31, 2017
Class of Stock [Line Items]    
Common shares reserved for future issuance 30,404,957 8,076,576
2014 Equity Incentive Plan    
Class of Stock [Line Items]    
Common shares reserved for future issuance 612,018 492,382
2014 Employee Stock Purchase Plan    
Class of Stock [Line Items]    
Common shares reserved for future issuance 81,667 83,617
2015 Inducement Plan    
Class of Stock [Line Items]    
Common shares reserved for future issuance 5,000 5,000
Series C1 Preferred Warrants    
Class of Stock [Line Items]    
Common shares reserved for future issuance 14,033 14,033
June 2016 Public Offering | Warrant liability    
Class of Stock [Line Items]    
Common shares reserved for future issuance 4,218,750 4,218,750
March 2018 Public Offering | Series 1 Warrant    
Class of Stock [Line Items]    
Common shares reserved for future issuance 13,198,075 0
March 2018 Public Offering | Series 2 Warrant    
Class of Stock [Line Items]    
Common shares reserved for future issuance 7,988,175 0
Warrants to purchase common stock associated with Solar loan agreement | Warrant liability    
Class of Stock [Line Items]    
Common shares reserved for future issuance 122,435 122,435
Stock options    
Class of Stock [Line Items]    
Common shares reserved for future issuance 4,052,913 3,075,994
Restricted Stock Units    
Class of Stock [Line Items]    
Common shares reserved for future issuance 111,891 64,365