Quarterly report pursuant to Section 13 or 15(d)

Business Combinations (Narrative) (Details)

v3.23.2
Business Combinations (Narrative) (Details)
3 Months Ended 6 Months Ended
Nov. 09, 2022
USD ($)
shares
May 26, 2022
USD ($)
Mar. 28, 2022
USD ($)
item
$ / shares
shares
Jun. 30, 2023
USD ($)
shares
Sep. 30, 2022
USD ($)
$ / shares
Jun. 30, 2022
USD ($)
Jun. 30, 2023
USD ($)
shares
Jun. 30, 2022
USD ($)
Dec. 31, 2022
USD ($)
shares
Mar. 25, 2022
USD ($)
Business Acquisition [Line Items]                    
Common stock, shares outstanding | shares       10,033,831     10,033,831   9,915,586  
Proceeds from sale               $ 6,281,415    
Revenue       $ 19,836,291   $ 4,218,453 $ 41,901,716 4,450,321    
Net (loss) income       (1,550,744)   1,442,652 (4,105,733) (440,982)    
Transaction costs           168,277 2,020 1,136,782    
Adjustments to amortization expense for intangible assets       0   347,092 0 1,235,253    
Adjustments, transaction costs       0   213,396 2,020 2,911,944    
Contingent consideration, issued shares | shares     3,250,000              
Number of issuable share tranches | item     3              
Fair value of shares issued             $ 0      
Merger Earnout Shares [Member]                    
Business Acquisition [Line Items]                    
Shares issued for merger | shares     750,000       750,000      
Fair value of shares issued     $ 4,700,000              
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              
Maximum [Member] | Tranche Two [Member]                    
Business Acquisition [Line Items]                    
Contingent consideration, issued shares | shares     1,250,000              
Maximum [Member] | Tranche Three [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              
Minimum [Member] | Tranche Three [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              
CVR distribution | $ / shares         $ 3.60          
CVR distribution, amount         $ 8,745,628          
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)        
Cash acquired in acquisition       1,919,593     $ 1,919,593      
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]                    
Total purchase price of acquired entity     $ 25,116,346              
Conversion of stock, shares converted | shares     1,562,498              
Conversion of stock, amount converted     $ 12,781,234              
Business acquisition, initial cash consideration paid     12,500,000              
Business acquisition, working capital adjustment     164,888              
Cash acquired in acquisition     $ 215,684 215,684     215,684      
Revenue       6,488,254   4,194,512 11,655,214 4,415,949    
Net (loss) income       346,174   (531,906) 269,414 $ (513,323)    
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                  
Contingent consideration at fair value 2,150,000     3,080,000     $ 3,080,000   $ 2,150,000  
Weighted average amortization period of acquired intangible assets             8 years      
Business acquisition, initial cash consideration paid 2,390,000                  
Cash acquired in acquisition       1,598,707     $ 1,598,707      
Business acquisition, deferred consideration, fair value $ 4,830,533                  
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                  
Revenue       13,340,133     30,235,008      
Net (loss) income       335,405     1,301,079      
SUNation Acquisition [Member] | Short-Term Note [Member]                    
Business Acquisition [Line Items]                    
Business acquisition, deferred consideration 5,000,000                  
SUNation Acquisition [Member] | Long-Term Note [Member]                    
Business Acquisition [Line Items]                    
Business acquisition, deferred consideration 5,486,000                  
Business acquisition, deferred consideration, fair value $ 4,830,533                  
HEC Asset Acquisition And SUNation Acquisition [Member]                    
Business Acquisition [Line Items]                    
Transaction costs       $ 0   $ 968,505 $ 2,020      
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