XML 23 R6.htm IDEA: XBRL DOCUMENT v3.22.2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Cash flows from operating activities    
Net income (loss) $ 14,253 $ (46,848)
Adjustments to reconcile net loss to net cash used in operating activities    
Depreciation and amortization 15,234 14,760
Non-cash lease expense 3,964 4,462
Loss on sale of assets 154 1,269
Amortization of debt discount and debt issuance costs 1,103 2,066
Deferred income taxes 80 (358)
Stock-based compensation expense 577 536
Impairment of long-lived assets 0 2,302
Non-cash interest expense 5,996 5,536
Bad debt expense 79 82
Change in fair value of embedded derivative liability (765) 1,257
Change in fair value of warrant liabilities 2,520 (1,975)
Change in fair value of contingent consideration 0 296
(Gain) loss on extinguishment of debt (10,953) 9,994
Changes in assets and liabilities    
Accounts receivable - trade (9,741) (1,433)
Alternative fuels tax credit receivable 766 1,388
Due from related party 30 0
Other assets (2,664) (922)
Accounts payable 4,545 (4,562)
Accrued expenses and other current liabilities 1,705 5,708
Accrued interest - related party 494 767
Operating lease liabilities (3,829) (4,347)
Net cash provided by (used in) operating activities 23,548 (10,022)
Cash flows from investing activities    
Purchases of equipment (7,430) (92)
Proceeds from sale of assets 315 1,030
Net cash provided by (used in) investing activities (7,115) 938
Cash flows from financing activities    
Proceeds from sale of common stock, preferred stock and warrants 0 6,150
Proceeds from issuance of debt 6,469 26,692
Payments of principal on debt (5,496) (5,880)
Proceeds from issuance of debt - related party 0 6,150
Payments of principal on debt - related party (18,594) (966)
Payment of prepayment penalty fees - related party (777) 0
Advances from factoring arrangements 214,343 185,438
Payments on factoring arrangements (225,798) (180,811)
Debt issuance costs 0 (674)
Payments on finance lease liabilities (5,895) (3,645)
Net cash provided by (used in) financing activities (35,748) 32,454
Net increase in cash (19,315) 23,370
Cash - beginning of year 26,644 3,274
Cash - end of year 7,329 26,644
Supplemental disclosures of cash flow information:    
Income tax paid 1,122 91
Interest paid 689 3,409
Supplemental schedule of non-cash investing and financing activities:    
Fair value of warrants and common stock issued in connection with financing arrangements 2,208 1,370
Held-for-sale assets sold for noncash consideration $ 0 $ 450