Annual report pursuant to Section 13 and 15(d)

Business Combinations (Narrative) (Details)

v3.23.1
Business Combinations (Narrative) (Details)
3 Months Ended 12 Months Ended
Nov. 09, 2022
USD ($)
shares
May 26, 2022
USD ($)
Mar. 28, 2022
USD ($)
item
$ / shares
shares
Sep. 30, 2022
USD ($)
$ / shares
Jun. 30, 2022
USD ($)
Mar. 31, 2022
USD ($)
Dec. 31, 2022
USD ($)
shares
Dec. 31, 2021
USD ($)
shares
Mar. 25, 2022
USD ($)
Business Acquisition [Line Items]                  
Common stock, shares outstanding | shares             9,915,586 3,074,998  
Transaction costs             $ 2,231,529 $ 2,410,634  
Net loss             (357,441) (9,180,142)  
Contingent consideration, issued shares | shares     3,250,000            
Number of issuable share tranches | item     3            
Fair value of shares issued             4,070,000    
Gain on fair value remeasurement of earnout consideration             4,684,000    
Proceeds from sale             6,297,865 479,983  
Intangible Assets, Amortization Expense [Member]                  
Business Acquisition [Line Items]                  
Net loss             1,706,086 3,416,286  
Acquisition-related Costs [Member]                  
Business Acquisition [Line Items]                  
Net loss             4,208,063 4,757,837  
Merger Earnout Shares [Member]                  
Business Acquisition [Line Items]                  
Shares issued for merger | shares     750,000            
Fair value of shares issued             0    
Tranche One [Member]                  
Business Acquisition [Line Items]                  
Contingent consideration, issued shares | shares     750,000            
Tranche Two [Member]                  
Business Acquisition [Line Items]                  
Volume weighted average price of common stock | $ / shares     $ 24.00            
Threshold consecutive trading days     30 days            
Merger period     24 months            
Tranche Three [Member]                  
Business Acquisition [Line Items]                  
Volume weighted average price of common stock | $ / shares     $ 32.00            
Threshold consecutive trading days     30 days            
Merger period     24 months            
Tranches Two And Three [Member]                  
Business Acquisition [Line Items]                  
Contingent consideration, issued shares | shares     2,500,000            
Tranches Two And Three [Member] | Merger Earnout Shares [Member]                  
Business Acquisition [Line Items]                  
Fair value of shares issued     $ 4,700,000            
Maximum [Member] | Tranche Two [Member]                  
Business Acquisition [Line Items]                  
Contingent consideration, issued shares | shares     1,250,000            
Minimum [Member] | Tranche Two [Member]                  
Business Acquisition [Line Items]                  
Contingent consideration, issued shares | shares     1,000,000.0            
CSI Merger [Member]                  
Business Acquisition [Line Items]                  
Shares issued for merger | shares     5,006,245            
Total purchase price of acquired entity   $ 6,500,000 $ 19,872,009            
Cash acquired in acquisition             1,919,593    
CVR distribution | $ / shares       $ 3.60          
CVR distribution, amount       $ 8,745,628          
Gain on fair value remeasurement of earnout consideration             $ 2,531,457    
Weighted average amortization period of acquired intangible assets             4 years    
Purchase price less cost to sell building           $ 6,800,000      
Proceeds from sale         $ 6,281,000        
Gain (loss) on sale         $ 285,000        
Revenue since acquisition             $ 5,291,492    
Operating (loss) since acquisition             (7,074,184)    
CSI Merger [Member] | Minimum [Member]                  
Business Acquisition [Line Items]                  
Contingent consideration liability, funds available benchmark                 $ 200,000
HEC Asset Acquisition [Member]                  
Business Acquisition [Line Items]                  
Conversion of stock, shares converted | shares     1,562,498            
Conversion of stock, amount converted     $ 12,781,234            
Total purchase price of acquired entity     25,116,346            
Cash acquired in acquisition     215,684       $ 215,684    
Business acquisition, initial cash consideration paid     12,500,000            
Business acquisition, working capital adjustment     $ 164,888            
Weighted average amortization period of acquired intangible assets             7 years    
Revenue since acquisition             $ 19,843,011    
Operating (loss) since acquisition             (845,234)    
HEC Asset Acquisition [Member] | Common Class B [Member]                  
Business Acquisition [Line Items]                  
Shares issued for merger | shares     6,250,000            
SUNation Acquisition [Member]                  
Business Acquisition [Line Items]                  
Total purchase price of acquired entity $ 18,440,533                
Cash acquired in acquisition             1,598,707    
Business acquisition, initial cash consideration paid $ 2,390,000                
Shares issued at acquisition closing | shares 1,480,000                
Shares issued at acquisition closing, fair value $ 4,070,000                
Contingent consideration, maximum 5,000,000                
Contingent consideration at fair value 2,150,000           $ 2,150,000    
Weighted average amortization period of acquired intangible assets             8 years    
Revenue since acquisition             $ 7,617,848    
Operating (loss) since acquisition             (99,522)    
SUNation Acquisition [Member] | Short-Term Note [Member]                  
Business Acquisition [Line Items]                  
Business acquisition, deferred consideration 5,000,000           5,000,000.0    
SUNation Acquisition [Member] | Long-Term Note [Member]                  
Business Acquisition [Line Items]                  
Business acquisition, deferred consideration 5,486,000                
Business acquisition, deferred consideration, fair value $ 5,486,000                
HEC Asset Acquisition And SUNation Acquisition [Member]                  
Business Acquisition [Line Items]                  
Transaction costs             $ 1,947,425 $ 2,410,634  
Legacy CSI Shareholders [Member]                  
Business Acquisition [Line Items]                  
Common stock, shares outstanding | shares     2,429,341            
Fair Value, Inputs, Level 3 [Member] | CSI Merger [Member]                  
Business Acquisition [Line Items]                  
Contingent consideration at fair value                 $ 18,277,230