XML 58 R48.htm IDEA: XBRL DOCUMENT v3.22.2
Debt - Schedule of Debt (With Related Parties) (Parenthetical) (Details) - USD ($)
1 Months Ended 3 Months Ended 6 Months Ended
Sep. 16, 2019
Sep. 16, 2019
Aug. 30, 2019
Aug. 30, 2019
Feb. 02, 2019
Jun. 01, 2018
Feb. 01, 2017
Oct. 31, 2020
Feb. 28, 2019
Jun. 30, 2021
Jun. 30, 2020
Jun. 30, 2021
Jun. 30, 2020
Jan. 01, 2022
Mar. 31, 2021
Mar. 12, 2021
Jan. 01, 2021
Dec. 31, 2020
Oct. 20, 2020
Oct. 19, 2020
Sep. 30, 2019
Aug. 31, 2018
Jul. 20, 2018
Dec. 31, 2014
Debt Instrument [Line Items]                                                
Current portion of long-term debt                   $ 24,170,000   $ 24,170,000           $ 50,252,000            
Gain (loss) on extinguishment of debt                   256,000 $ 30,000 790,000 $ (10,056,000)                      
Warrants, exercise price                                   $ 0.01 $ 0.01 $ 2.50        
Fair Value Adjustment of Warrants                   $ 1,345,000 975,000 $ (1,762,000) (7,260,000)                      
Warrants issued                                     5,072,000 7,925,000        
Fair value of the warrants                                   $ 800,000            
Omnibus Amendment [Member]                                                
Debt Instrument [Line Items]                                                
Common stock               5,072,000                                
Class of warrant to purchase number of common stock               7,925,000   1,500,000   1,500,000         500,000              
Warrants, exercise price               $ 0.01   $ 2.50   $ 2.50         $ 0.01              
Warrants, terms                                 10 years              
Antara Financing Agreement [Member]                                                
Debt Instrument [Line Items]                                                
Principal amount due                             $ 16,700,000                  
Unamortized debt discount                   $ 1,000,000.0   $ 1,000,000.0           2,000,000.0            
Main Street Loan [Member] | Antara Financing Agreement [Member]                                                
Debt Instrument [Line Items]                                                
Principal amount due                             $ 33,600,000                  
Gain (loss) on extinguishment of debt                       1,700,000                        
Debt instrument prepayment penalties                       $ 800,000                        
DTII Note [Member] | Settlement Agreement And Release [Member]                                                
Debt Instrument [Line Items]                                                
Warrants, exercise price                               $ 2.50                
DTII Note [Member] | Settlement Agreement And Release [Member] | Warrant Exercise Price of 2.50 Per Share [Member]                                                
Debt Instrument [Line Items]                                                
Warrants, exercise price                               2.50                
DTII Note [Member] | Settlement Agreement And Release [Member] | Warrant Exercise Price of 0.01 Per Share [Member]                                                
Debt Instrument [Line Items]                                                
Warrants, exercise price                               $ 0.01                
DTII Note [Member] | Settlement Agreement And Release [Member] | Midwest Bank [Member]                                                
Debt Instrument [Line Items]                                                
Notes payable in cash                               $ 500,000                
Warrants, exercise price                               $ 0.01                
Common Stock [Member]                                                
Debt Instrument [Line Items]                                                
Warrants issued                                         4,375,000      
Maximum [Member] | DTII Note [Member] | Settlement Agreement And Release [Member]                                                
Debt Instrument [Line Items]                                                
Warrants to purchase shares of common stock                               1,200,000                
Maximum [Member] | DTII Note [Member] | Settlement Agreement And Release [Member] | Warrant Exercise Price of 2.50 Per Share [Member]                                                
Debt Instrument [Line Items]                                                
Warrants to purchase shares of common stock                               950,000                
Maximum [Member] | DTII Note [Member] | Settlement Agreement And Release [Member] | Warrant Exercise Price of 0.01 Per Share [Member]                                                
Debt Instrument [Line Items]                                                
Warrants to purchase shares of common stock                               250,000                
Maximum [Member] | DTII Note [Member] | Settlement Agreement And Release [Member] | Midwest Bank [Member]                                                
Debt Instrument [Line Items]                                                
Warrants to purchase shares of common stock                               1,250,000                
Term Loan [Member] | Omnibus Amendment [Member]                                                
Debt Instrument [Line Items]                                                
Interest paid in kind rate                       17.00%                        
Term Loan [Member] | Antara Financing Agreement [Member]                                                
Debt Instrument [Line Items]                                                
Principal amount $ 24,500,000 $ 24,500,000               $ 17,400,000   $ 17,400,000                        
Interest rate 12.00% 12.00%               14.50%   14.50%                        
Current portion of long-term debt                   $ 17,400,000   $ 17,400,000           33,600,000            
Maturity date Sep. 16, 2022                                              
Note payable maturity, description                       The maturity date is ninety-one days after the fifth anniversary of the closing date of the Main Street Loan (March 15, 2026) or the date that is ninety-one days after the date of payment in full in cash of all obligations in respect of the Main Street Loan, whichever occurs first.                        
Interest paid in kind rate                       14.50%                        
Unamortized debt discount                   9,000,000.0   $ 9,000,000.0                        
Interest payable in cash rate                       12.00%                        
Four Promissory Notes Issued February 1, 2017 to Former EAF [Member]                                                
Debt Instrument [Line Items]                                                
Principal amount             $ 9,500,000                                  
Interest rate             1.50%                                  
Percentage of conversion of common stock                       10.00%                        
Minimum amount of principal                   35,000   $ 35,000                        
Maturity date                       Feb. 01, 2026                        
Interest rate             5.10%                                  
Note payable maturity, description                       The four promissory notes were issued to the former EAF members with interest at 1.5%, issued February 1, 2017, and mature February 1, 2026.                        
Unamortized debt discount                   6,200,000   $ 6,200,000           6,500,000            
Four Promissory Notes Issued February 1, 2017 to Former EAF [Member] | Subsequent Event [Member]                                                
Debt Instrument [Line Items]                                                
Warrants, exercise price                           $ 0.01                    
Warrants issued                           7,533,750                    
Four Promissory Notes Issued February 1, 2017 to Former EAF [Member] | Common Stock [Member]                                                
Debt Instrument [Line Items]                                                
Common stock             7,000,000                                  
Senior Promissory Note Issued February One Two Thousand And Seventeen To Former EAF [Member]                                                
Debt Instrument [Line Items]                                                
Principal amount             $ 3,800,000                                  
Current portion of long-term debt                   3,800,000   $ 3,800,000           3,800,000            
Maturity date, month and year             2017-12                                  
Note payable maturity, description                       an original maturity of the earlier of (a) December 2017; (b) ten days after the initial closing of a private offering of capital stock of the Company in an amount not less than $10 million; or (c) an event of default.                        
Principle and interest payments                       $ 0                        
Fair Value Adjustment of Warrants                       $ 200,000                        
Debt instrument extended maturity month and year             2019-07                                  
Senior Promissory Note Issued February One Two Thousand And Seventeen To Former EAF [Member] | Main Street Loan [Member] | Financing Agreement [Member]                                                
Debt Instrument [Line Items]                                                
Debt instrument extended maturity month and year                       2022-11                        
Senior Promissory Note Issued February One Two Thousand And Seventeen To Former EAF [Member] | Minimum [Member]                                                
Debt Instrument [Line Items]                                                
Interest rate             7.50%                                  
Senior Promissory Note Issued February One Two Thousand And Seventeen To Former EAF [Member] | Maximum [Member]                                                
Debt Instrument [Line Items]                                                
Default interest rate             12.50%                                  
Senior Promissory Note Issued February One Two Thousand And Seventeen To Former EAF [Member] | Maximum [Member] | Initial Public Offering [Member]                                                
Debt Instrument [Line Items]                                                
Private offering of capital stock             $ 10,000,000                                  
Promissory Notes | Common Stock [Member] | Financing Agreement [Member] | EAF [Member]                                                
Debt Instrument [Line Items]                                                
Unamortized debt discount                   $ 100,000   $ 100,000           200,000            
Class of warrant to purchase number of common stock                   350,000   350,000                        
Warrants, exercise price                   $ 0.01   $ 0.01                        
Warrants, terms                   5 years   5 years                        
Promissory Note Issued February One Two Thousand And Seventeen To Former EAF [Member]                                                
Debt Instrument [Line Items]                                                
Interest rate             7.50%                                  
Current portion of long-term debt                   $ 4,000,000.0   $ 4,000,000.0           4,000,000.0            
Principle and interest payments             $ 0                                  
Unamortized debt discount                   $ 100,000   $ 100,000           200,000            
Promissory note             $ 4,000,000.0                                  
Debt instrument extended maturity month and year                       2022-11                        
Class of warrant or rights, exercisable term   5 years                                            
Fair value of the warrants $ 300,000 $ 300,000                                            
Promissory Note Issued February One Two Thousand And Seventeen To Former EAF [Member] | Common Stock [Member]                                                
Debt Instrument [Line Items]                                                
Warrants, exercise price $ 0.01 $ 0.01                                            
Warrants issued 350,000 350,000                                            
Secured Convertible Promissory Notes [Member]                                                
Debt Instrument [Line Items]                                                
Interest rate                                           9.00%    
Gain (loss) on extinguishment of debt                       $ 2,100,000                        
Warrants, exercise price                   $ 2.50   $ 2.50                        
Secured convertible promissory notes                   $ 4,000,000.0 $ 4,000,000.0 $ 4,000,000.0 $ 4,000,000.0                 $ 4,000,000.0   $ 4,000,000.0
Estimated incremental fair value related to warrant issuance and exchange                       $ 1,100,000                        
Secured Convertible Promissory Notes [Member] | DTII Note [Member] | Settlement Agreement And Release [Member]                                                
Debt Instrument [Line Items]                                                
Principal amount                                             $ 3,000,000  
Secured Convertible Promissory Notes [Member] | Common Stock [Member]                                                
Debt Instrument [Line Items]                                                
Warrants issued                   1,602,000   1,602,000                        
Promissory Note Stockholder Issued June One Two Thousand And Eighteen [Member]                                                
Debt Instrument [Line Items]                                                
Principal amount           $ 2,500,000                                    
Interest rate           6.00%                                    
Current portion of long-term debt                                   1,700,000            
Maturity date           Nov. 30, 2022                                    
Note payable maturity, description                       a maturity date of the earlier of (a) the date the Company raises $40.0 million in public or private offerings of debt or equity; (b) December 31, 2018, or (c) termination of Trey Peck’s employment with the Company by the Company without cause or by Trey Peck for good reason.                        
Default interest rate           9.00%                                    
Debt instrument extended maturity month and year     2019-08                                          
Proceeds from public or private offering           $ 40,000,000.0                                    
Maturity start date           Dec. 31, 2018                                    
Payment of principal amount to Peck           $ 150,000                                    
Payment of increased monthly principal amount to Peck     $ 20,000                                          
Maturity date                       monthly                        
Promissory Note Stockholder Issued February Two Two Thousand And Nineteen [Member] | Ursa and JB Lease [Member]                                                
Debt Instrument [Line Items]                                                
Interest rate         9.00%                                      
Current portion of long-term debt                                   $ 6,100,000            
Maturity date         Aug. 31, 2020                                      
Maturity date, month and year       2022-11                                        
Extended maturity date     Aug. 30, 2019 Aug. 30, 2019                                        
Principle and interest payments         $ 6,400,000                                      
Increased principal amount if not repaid on maturity date         $ 6,400,000                                      
Debt instrument, date of first required payment         Jun. 01, 2019                                      
Notes Payable Acquired From Ritter [Member]                                                
Debt Instrument [Line Items]                                                
Interest rate                 7.00%                              
Maturity date, month and year                 2028-12