Quarterly report pursuant to Section 13 or 15(d)

Debt (Details)

v3.20.1
Debt (Details)
1 Months Ended 9 Months Ended
Jan. 23, 2020
USD ($)
note
subsidiary
lender
$ / shares
Jan. 22, 2020
USD ($)
Mar. 06, 2019
USD ($)
$ / shares
shares
Nov. 05, 2018
USD ($)
$ / shares
shares
Nov. 05, 2018
USD ($)
$ / shares
shares
Feb. 29, 2012
USD ($)
$ / shares
Mar. 31, 2019
USD ($)
Jan. 31, 2019
USD ($)
Debt Instrument [Line Items]                
Beneficial conversion feature on convertible debt               $ 0
Proceeds from issuance or sale of equity $ 10,000,000              
Net proceeds from convertible debt   $ 16,000,000            
Reverse stock split           0.08333    
Loans Payable                
Debt Instrument [Line Items]                
Write off of unamortized original issue discount and debt issuance costs 182,000              
Loan Agreements                
Debt Instrument [Line Items]                
Debt instrument, term     5 years          
Stock issued during period, conversion of convertible securities (in shares) | shares     100,000          
Warrants granted, exercise price (in dollars per share) | $ / shares     $ 6.00          
Loan Agreements | Warrant                
Debt Instrument [Line Items]                
Warrants issued as part of senior secured term loans     $ 360,516          
Closing costs treated as debt discounts     33,693          
Revolving Credit Facility                
Debt Instrument [Line Items]                
Line of credit, maximum borrowing capacity     5,000,000 $ 5,000,000 $ 5,000,000      
Debt instrument, term       3 years        
Leon and Toby Cooperman Family Foundation | Loan Agreements                
Debt Instrument [Line Items]                
Proceeds from issuance or sale of equity     $ 10,000,000       $ 10,000,000  
Debt instrument, interest rate, stated percentage     12.00%          
One-time extension fee (as a percent)             1.00%  
Proceeds from issuance of secured debt     $ 5,000,000          
One-time extension fee (as a percent)     1.00%          
Convertible Promissory Note Dated February 29, 2012                
Debt Instrument [Line Items]                
Face value of loan           $ 50,000    
2 Year Promissory Notes                
Debt Instrument [Line Items]                
Conversion price (in dollars per share) | $ / shares           $ 12.00    
Debt instrument, interest rate, stated percentage           0.19%    
Credit Facility Agreement | Revolving Credit Facility                
Debt Instrument [Line Items]                
Line of credit, maximum borrowing capacity       $ 5,000,000 $ 5,000,000      
Interest rate of debt (as a percent)       12.00% 12.00%      
One-time upfront facility fee         $ 100,000      
One-time extension fee (as a percent)         2.00%      
Number of securities called by warrants or rights (in shares) | shares       92,049 92,049      
Warrant term         5 years      
Exercise price of warrants (in dollars per share) | $ / shares       $ 5.85 $ 5.85      
Fair value of warrants outstanding       $ 255,071 $ 255,071      
Convertible Notes | Convertible Notes Payable                
Debt Instrument [Line Items]                
Face value of loan $ 5,000,000              
Number of lenders | lender 2              
Number of notes | note 2              
Conversion period after issuance date 6 months              
Conversion price (in dollars per share) | $ / shares $ 7.15              
Average closing price of common stock (in dollars per share) | $ / shares $ 10.725              
Consecutive trading day period | subsidiary 20              
Debt instrument, term 3 years              
Debt instrument, interest rate, stated percentage 7.00%              
Debt instrument, extension period 1 year              
Extension fee per note $ 50,000              
Total extension fee 100,000              
Payments to cover taxes 40,400              
Convertible Notes | Revolving Credit Facility                
Debt Instrument [Line Items]                
Line of credit, maximum borrowing capacity       $ 5,000,000 $ 5,000,000      
Beneficial conversion feature on convertible debt $ 1,692,309