Quarterly report pursuant to Section 13 or 15(d)

SIGNIFICANT ACCOUNTING POLICIES (Details Narrative)

v3.22.2.2
SIGNIFICANT ACCOUNTING POLICIES (Details Narrative)
3 Months Ended 6 Months Ended
Feb. 23, 2022
shares
Jun. 30, 2022
USD ($)
shares
Mar. 31, 2022
USD ($)
Jun. 30, 2021
USD ($)
Jun. 30, 2022
USD ($)
Model
shares
Jun. 30, 2021
USD ($)
Dec. 31, 2021
USD ($)
$ / shares
Dec. 20, 2021
$ / shares
Dec. 31, 2020
Advance to Contractor   $ 17,800,000   $ 20,100,000 $ 17,800,000 $ 20,100,000      
New Advance To Contractor   0   17,800,000 0 17,800,000 $ 10,000,000    
Uninsured cash   7,500,000     7,500,000        
Interest costs capitalized   11,000,000   6,900,000 21,800,000 11,600,000      
Capitalized interest costs   $ 62,100,000     $ 62,100,000        
Percentage of valuation allowance on deferred tax assets   100.00%     100.00%   100.00%    
Revenue from contract with customers excluding assesseed tax   $ 800,000   100,000 $ 1,200,000 200,000      
Asset Retirement Obligation, Current   3,268,660     3,268,660   $ 2,530,000    
Asset Retirement Obligations, Noncurrent   $ 17,205,390     17,205,390   $ 17,661,429    
Warrants Issued During Period Shares | shares   0              
Gain (Loss) on Extinguishment of Debt   $ 0   0 (3,972,568) 0      
Inventory Write-down     $ 319,000            
Class of warrant or right, exercise price of warrants or rights | $ / shares             $ 6.25 $ 2.25  
Foreign translation income or loss   17,000   $ 0 14,000 $ 0      
Inventory Adjustments   $ 0     $ 0   $ 0    
Number of model iterations | Model         100,000        
Equity incentive option                  
Stock Based Compensation issued | shares   600,000              
Senior Credit Facility [Member]                  
Warrants Issued During Period Shares | shares 5,017,008       5,017,008        
Percentage of Warrant Commitment Liability         1.00%        
Warrant Commitment Liability   $ 4,100,000     $ 4,100,000        
Escalation Rate [Member]                  
Asset retirement obligation measurement input                 3.33
Bakersfield Refinery                  
Advance to Contractor   $ 20,100,000     20,100,000        
Bakers Renewable Fuels LLC [Member]                  
Gain (Loss) on Extinguishment of Debt         $ 3,900,000        
Minimum [Member] | Measurement Input, Discount Rate [Member]                  
Asset retirement obligation measurement input                 3.62
Maximum [Member] | Measurement Input, Discount Rate [Member]                  
Asset retirement obligation measurement input                 7.26
Weighted Average [Member] | Measurement Input, Discount Rate [Member]                  
Asset retirement obligation measurement input                 5
Equipment [Member] | Minimum [Member]                  
Property, Plant and Equipment, Useful Life         3 years        
Equipment [Member] | Maximum [Member]                  
Property, Plant and Equipment, Useful Life         5 years        
Refinery Assets and Buildings | Minimum [Member]                  
Property, Plant and Equipment, Useful Life         5 years        
Refinery Assets and Buildings | Maximum [Member]                  
Property, Plant and Equipment, Useful Life         25 years