Annual report pursuant to Section 13 and 15(d)

Term Loan Agreements and Long Term Debt - Long-term Portion (Parenthetical) (Details)

v3.6.0.2
Term Loan Agreements and Long Term Debt - Long-term Portion (Parenthetical) (Details) - USD ($)
12 Months Ended
Oct. 25, 2016
Nov. 12, 2014
Dec. 31, 2016
Dec. 31, 2015
Sep. 30, 2015
Nov. 13, 2014
Note Payable            
Deferred financing fees     $ 771,185      
Equipment Lease Agreement            
Note Payable            
Face amount     $ 58,875      
Term of debt     36 months      
Interest payable, percent     3.50%      
Interest and principal payments, term     33 months      
No payments required, term     3 months      
Three Peaks Loan | Revenue Interest Purchase Agreement            
Note Payable            
Effective interest rate (as a percent)       10.00% 10.00%  
Royalty percentage on net revenue   3.75%   3.75%    
Maximum revenue subject to royalties payable calculation   $ 30,000,000        
Aggregate revenues subject to royalties payable, term   12 months   10 years    
Three Peaks Loan | Term Loan            
Note Payable            
Face amount   $ 25,000,000   $ 25,000,000    
Term of debt   6 years   6 years    
Interest payable, percent   9.00%   9.00%    
Interest rate spread   1.00%   1.00%    
Effective interest rate (as a percent)           10.00%
Maximum revenue subject to royalties payable calculation       $ 30,000,000    
Aggregate revenues subject to royalties payable, term       12 months    
Deferred financing fees       $ 845,727    
MidCap Loan | Term Loan Agreement.            
Note Payable            
Face amount $ 21,000,000   $ 21,000,000      
Term of debt     54 months      
Interest payable, percent 8.00%   8.00%      
Interest rate spread 0.50%   0.50%      
Effective interest rate (as a percent) 8.50%   8.50%      
Deferred financing fees     $ 771,185      
Interest only payments, term     24 months      
Interest and principal payments, term     30 months      
Annual agency fee, percent of aggregate principal amount (0.25%)   0.25%      
MidCap Loan | Revolver Credit facility            
Note Payable            
Interest payable, percent 4.50%   4.50%      
Interest rate spread 0.50%   0.50%      
Effective interest rate (as a percent) 5.00%   5.00%      
Maximum line of credit amount $ 10,000,000   $ 10,000,000      
Collateral management fee, percent (0.50%)   0.50%      
Unused line fee, percent 0.50%   0.50%