XML 33 R20.htm IDEA: XBRL DOCUMENT v3.7.0.1
Loan and Security Agreement - Long-term Debt and Unamortized Debt Discount (Details) - USD ($)
Jun. 30, 2017
Dec. 31, 2016
Debt Disclosure [Abstract]    
Long-term debt $ 10,000,000  
Less debt discount, net of current portion 21,507  
Long-term debt, net of debt discount 10,021,507  
Less current portion of long-term debt (1,944,444)  
Loan payable, long-term 8,077,063 $ 9,470,445
Current portion of long-term debt 1,944,444  
Current portion of debt discount (48,649)  
Loan payable, current portion $ 1,895,795 $ 269,162