v3.23.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Cash flows from operating activities:    
Net income (loss) $ (11,833) $ (141,556)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Depreciation and amortization 7,756 9,289
Stock-based compensation expense 1,514 2,689
Bad debt expense, net of recoveries 424 1,602
Gain (loss) on asset disposition 21 12
Impairment loss 0 127,831
Deferred taxes 0 (1,919)
Changes in operating assets and liabilities (net of the effect of acquisitions):    
Accounts and notes receivable 1,808 (3,106)
Inventory 1,989 10,616
Prepaid expenses and other assets 4,008 7,482
Accounts payable and accrued liabilities 3,526 (1,805)
Operating leases 469 299
Payroll and payroll tax liabilities (1,843) (3,066)
Customer deposits (592) (6,634)
Sales tax payable 132 (184)
Net cash provided by (used in) operating activities 7,379 1,550
Cash flows from investing activities:    
Acquisitions, net of cash acquired (3,197) (6,806)
Purchase of marketable securities (51,700) 0
Maturities from marketable securities 42,566 29,793
Purchase of property and equipment (5,533) (8,822)
Disposal of assets 226 0
Net cash provided by (used in) investing activities (17,638) 14,165
Cash flows from financing activities:    
Principal payments on long term debt (33) (45)
Common stock withheld for employee payroll taxes (175) (1,448)
Net cash provided by (used in) financing activities (208) (1,493)
Net change (10,467) 14,222
Cash and cash equivalents at the beginning of period 40,054 41,372
Cash and cash equivalents at the end of period 29,587 55,594
Supplemental disclosures of non-cash activities:    
Cash paid for interest 5 13
Common stock issued for business combination 0 5,750
Right of use assets acquired under new operating leases $ 2,748 $ 6,221

Source