v3.24.3
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2024
Sep. 30, 2023
Cash flows from operating activities:    
Net income (loss) $ (6,812) $ 5,513
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Depreciation and amortization 10,008 7,466
Amortization of intangible assets 2,569 3,688
Reduction in the carrying value of right-of-use assets 6,377 5,964
Non-cash interest expense 313 321
Deferred interest expense 274 367
Provision recorded for credit losses 3,723 1,320
Deferred tax benefit (7,887) 0
Loss on disposal of property and equipment 444 104
Adjustment for excess and obsolete inventories 5,884 4,351
Stock-based compensation 7,687 6,630
Impairment of property and construction 18,842 0
Write down of capitalized internal-use software costs (Note 6) 3,959 0
Changes in operating assets and liabilities:    
Accounts receivable (22,996) (1,761)
Inventories (5,749) (7,473)
Prepaid expenses and other current assets and other assets (4,052) (4,491)
Operating leases (9,253) (6,282)
Accounts payable (6,022) (3,661)
Accrued expenses and other current liabilities 5,882 8,179
Other liabilities 80 68
Net cash provided by operating activities 3,271 20,303
Cash flows from investing activities:    
Purchases of property and equipment (6,671) (21,040)
Net cash used in investing activities (6,671) (21,040)
Cash flows from financing activities:    
Payments of term loan under the 2021 Credit Agreement (4,219) (3,281)
Principal repayments of finance lease obligations (804) (114)
Payments of withholding taxes in connection with RSUs vesting (1,173) (333)
Proceeds from the exercise of stock options 184 0
Net cash used in financing activities (6,012) (3,728)
Change in cash, cash equivalents and restricted cash (9,412) (4,465)
Cash, cash equivalents, and restricted cash, beginning of period 104,338 103,290
Cash, cash equivalents, and restricted cash, end of period 94,926 98,825
Supplemental disclosure of cash flow information:    
Cash paid for interest 4,105 3,896
Cash paid for income taxes 5,493 3,021
Supplemental disclosure of non-cash investing and financing activities:    
Cumulative effect adjustment for adoption of ASU No. 2016-13 0 615
Change in purchases of property and equipment included in accounts payable and accrued expenses and other current liabilities (222) 4,146
Right-of-use assets obtained through operating lease obligations $ 1,201 $ 5,138