Annual report pursuant to Section 13 and 15(d)

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

v3.20.1
Stockholders' Equity - Schedule of Reserved Shares of Common Stock for Future Issuance (Detail) - shares
Dec. 31, 2019
Dec. 31, 2018
Class of Stock [Line Items]    
Common shares reserved for future issuance 81,439,674 30,404,957
6.0% Convertible Senior Notes due 2025    
Class of Stock [Line Items]    
Common shares reserved for future issuance 11,382,000 0
2014 Equity Incentive Plan    
Class of Stock [Line Items]    
Common shares reserved for future issuance 554,774 612,018
2014 Employee Stock Purchase Plan    
Class of Stock [Line Items]    
Common shares reserved for future issuance 74,231 81,667
2015 Inducement Plan    
Class of Stock [Line Items]    
Common shares reserved for future issuance 315,500 5,000
Series C1 Preferred Warrants    
Class of Stock [Line Items]    
Common shares reserved for future issuance 0 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 0 13,198,075
March 2018 Public Offering | Series 2 Warrant    
Class of Stock [Line Items]    
Common shares reserved for future issuance 7,988,175 7,988,175
December 2019 Public Offering | Warrant liability    
Class of Stock [Line Items]    
Common shares reserved for future issuance 44,722,222 0
December 2019 Public Offering | Option to Purchase Common Stock    
Class of Stock [Line Items]    
Common shares reserved for future issuance 5,833,333 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 5,261,860 4,052,913
Restricted Stock Units    
Class of Stock [Line Items]    
Common shares reserved for future issuance 966,394 111,891