XML 29 R17.htm IDEA: XBRL DOCUMENT v3.5.0.2
Debt - Additional Information (Detail) - Square 1 Bank [Member] - Loan and security agreement [Member] - USD ($)
1 Months Ended
Aug. 04, 2016
Jul. 31, 2016
May 31, 2014
Jun. 30, 2016
Dec. 31, 2014
Debt Instrument [Line Items]          
Loan and security agreement, available credit     $ 4,500,000    
Loan and security agreement, amount drawn         $ 4,500,000
Fixed interest rate         5.50%
Line of credit facility, loan origination cost     $ 82,685    
Warrants exercisable, stock issued       22,881  
Warrant exercise price per share       $ 5.90  
Warrants to purchase common stock [Member]          
Debt Instrument [Line Items]          
Debt instrument, unamortized discount       $ 108,122  
Warrant value recorded in equity       $ 108,122  
Subsequent Event [Member]          
Debt Instrument [Line Items]          
Repayment of principal and accrued interest $ 4,500,000        
Debt instrument, unamortized discount 38,000        
Subsequent Event [Member] | Warrants to purchase common stock [Member]          
Debt Instrument [Line Items]          
Debt instrument, unamortized discount $ 59,000        
Common stock shares issued upon conversion of warrants   9,887