XML 61 R47.htm IDEA: XBRL DOCUMENT v3.22.0.1
Debt (Details Narrative) - USD ($)
3 Months Ended 12 Months Ended
Nov. 05, 2021
Aug. 09, 2021
Mar. 14, 2021
Aug. 11, 2020
Aug. 11, 2020
Jun. 30, 2021
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Mar. 31, 2021
Apr. 01, 2020
Mar. 14, 2020
Mar. 06, 2020
Sep. 30, 2019
Feb. 27, 2019
Jul. 06, 2012
Additional borrowing second                   $ 600,000            
Line of credit facility   $ 40,000,000.0                            
Increments amount             $ 500,000                  
Sold on aggregate principal amount             36,000,000.0                  
Escrow amount             500,000                  
Repaid for investores             3,000,000.0                  
EB five principal amount             $ 32,500,000                  
Payroll Protection Program             On May 5, 2020, certain wholly owned subsidiaries of the Company received loan proceeds of approximately $1.1 million; (“PPP Loans”) under the Paycheck Protection Program (“PPP”). In the second quarter of 2021, the Company received notification from the Small Business Administration that all loan proceeds received by the Company were forgiven. Due to the forgiveness of the loan, the Company recorded a gain on debt extinguishment in the statements of operations and comprehensive loss in the amount of approximately $1.1 million during the year ended December 31, 2021.                  
EB five accrued interest             $ 4,100,000                  
Short term borrowings             300,000                  
Other long-term debt             5,400,000                  
Net of debt issuance             $ 188,767,000 $ 229,619,000                
Warrants exercisable             $ 0.01 $ 0.01 $ 0.01              
Proceeds from issuance of debt             $ (1,134,000) $ 0 $ 0              
Extension Fee             1.00%                  
Long-term debt             $ 189,698,000                  
Revolving Credit Facility                                
Debt instrument face amount               76,000,000.0                
Fees percentage             13.75%                  
Maturity period             April 1, 2023                  
Line of credit facility, interest rate at period end             17.00%                  
Debt instrument, unamortized discount             $ 700,000                  
Promissory Notes [Member] | Reserve Liquidity Facility                                
Line of credit facility, default, interest rate             40.00%                  
Debt instrument, face amount                         $ 18,000,000      
Maximum borrowing capacity                       $ 70,000,000.0        
Line of credit facility, interest rate during period             30.00%                  
Standby fee, percentage             2.00%           2.00%      
Payroll Protection Program [Member]                                
Debt instrument face amount             $ 1,100,000                  
Proceeds from issuance of debt             1,100,000                  
Senior Debt-TEC | Promissory Notes [Member]                                
Debt instrument face amount                               $ 7,200,000
Net of debt issuance             $ 7,095,000 7,066,000                
Fees percentage             5.00%               14.00%  
Debt instrument fee amount     $ 100,000                          
Maturity period             Apr. 01, 2023                  
Extension Fee       1.00%     1.00%                  
Reduction in extension fee       $ 300,000 $ 300,000   $ 300,000                  
Amendment fee       $ 50,000     50,000                  
Waiver fee $ 100,000       $ 50,000 $ 300,000                    
Total proceeds                             $ 100,000  
Additional borrowings first                           $ 700,000 700,000.0  
Maturity period     April 1, 2022                          
Capital expenditure limit, amount           100000                    
Unamortized debt issuance costs             $ 57,000                  
Senior Debt-TEC | Acquisition Participation Term Notes                                
Debt instrument interest rate             14.00%                  
Net of debt issuance             $ 26,500                  
Fees percentage             10.75%                  
Maturity period             Apr. 01, 2023                  
Unamortized debt issuance costs             $ 98,000                  
Redemption fees             7,500,000                  
Senior Debt-TEC | Reserve Liquidity [Member]                                
Debt instrument face amount             $ 40,000,000.0                  
Debt instrument interest rate             30.00%                  
Maturity period             Apr. 01, 2023                  
Senior Debt-TEC | Revolving Credit Facility                                
Debt instrument face amount                               18,000,000.0
Net of debt issuance             $ 75,980,000 80,310,000                
Senior Debt | Revenue Participation Term Notes                                
Debt instrument face amount                               10,000,000.0
Net of debt issuance             11,915,000 11,864,000                
Senior Debt | Reserve Liquidity Facility                                
Debt instrument fee amount             300,000           $ 500,000   $ 2,100,000  
Debt instrument fee amount percentage                     1.00%          
Senior Debt | Promissory Notes [Member]                                
Net of debt issuance             0 1,444,000                
Senior Debt | Acquisition Participation Term Notes                                
Principal and interest outstanding                               $ 15,000,000.0
Net of debt issuance             26,461,000 26,384,000                
Cilion [Member] | Subordinated Debt [Member]                                
Debt instrument face amount             5,000,000.0                  
Net of debt issuance             $ 6,619,000 6,274,000                
Fees percentage             3.00%                  
Principal and interest outstanding             $ 6,600,000                  
Subordinated Notes                                
Principal and interest outstanding             14,300,000 12,700,000                
Debt instrument face amount             $ 900,000                  
Debt instrument interest rate             10.00%                  
Net of debt issuance             $ 14,304,000 12,745,000                
Fees percentage             10.00%                  
Warrants exercisable             $ 0.01                  
Equity financing             $ 2,500,000                  
Financing Agreement For Capital Expenditures [Member]                                
Net of debt issuance             5,700,000                  
GAFI Term Loan                                
Debt instrument face amount             $ 15,000,000                  
Debt instrument interest rate             10.00%                  
Debt instrument fee amount             $ 500,000                  
Line of credit facility, default, interest rate             12.00%                  
Debt instrument, interest rate during period             7.75%                  
GAFI Revolving Loan                                
Discount issuance costs             $ 22,200,000                  
Revolving Loan             11,800,000                  
outstanding on the Term Loan             400,000                  
EB-5 Phase II Notes                                
Debt instrument face amount             500,000.0                  
Principal and interest outstanding             50,000,000.0                  
Investment current offering             900,000                  
Principal amount             900,000                  
Escrow amount             3,550,000.0                  
Investment funds             $ 50,000                  
Conversion price             $ 30                  
Aggregate principal amount             $ 50,800,000                  
Repayment amount             500,000                  
EB-5 Phase I Notes                                
Debt instrument face amount             500,000                  
Escrow amount             3,550,000                  
Investment funds             $ 50,000.0                  
Conversion price             $ 30                  
Repayment amount             $ 3,000,000.0                  
Principal and interest outstanding net             36,000,000.0                  
Accrued interest outstanding             4,100,000.0                  
Principal funding amount             $ 32,500,000.0                  
Term Notes                                
Debt instrument, interest rate during period             14.00%                  
Total proceeds             $ 37,000,000                  
Maturity period             April 1, 2023                  
Long-term debt             $ 7,100,000.0 $ 7,100,000                
Secunderabad Oils                                
Fees percentage             10.75%                  
Debt instrument, face amount                         $ 18,000,000      
Monthly net operating profit rate             30.00%                  
Unsecured Working Capital Loans                                
Debt instrument interest rate             12.00%                  
Repayment amount             $ 8,500,000                  
Monthly net operating profit rate             30.00%                  
Operational support charges             30.00%