XML 109 R8.htm IDEA: XBRL DOCUMENT v3.22.4
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Operating activities:      
Net (loss) income $ (703) $ (50,674) $ 37,954
Adjustments to reconcile net (loss) income to net cash provided by operating activities:      
Depreciation, depletion and accretion of asset retirement obligation 26,488 25,308 22,130
Impairment loss 0 2,170 5,115
Amortization of intangible assets 792 792 793
(Gain) loss on disposal of assets (294) 555 237
Bad debt expense 1 19,592 0
Amortization of deferred financing cost 105 105 105
Accretion of debt discount 186 183 185
Deferred income taxes (4,196) (10,547) (2,573)
Stock-based compensation, net 3,184 3,161 3,831
Employee stock purchase plan compensation 25 34 34
Change in contingent consideration fair value 0 0 (1,410)
Gain on bargain purchase, net of cash acquired 0 0 (39,291)
Changes in assets and liabilities:      
Accounts receivable (18,265) 32,899 (10,719)
Unbilled receivables 1,805 (2,011) 4,638
Inventory (5,161) 1,942 4,738
Prepaid expenses and other assets 6,524 751 (5,327)
Deferred revenue (9,311) 5,913 1,032
Accounts payable 5,244 4,508 (370)
Accrued expenses and other liabilities (1,004) (2,243) 4,981
Income taxes payable 0 0 (542)
Net cash provided by operating activities 5,420 32,438 25,541
Investing activities:      
Acquisition, net of cash acquired (6,547) 0 0
Purchases of property, plant and equipment (12,731) (11,220) (8,620)
Proceeds from disposal of assets 1,070 78 61
Net cash used in investing activities (18,208) (11,142) (8,559)
Financing activities:      
Proceeds from the issuance of notes payable 0 0 952
Repayments of notes payable (7,325) (6,771) (4,802)
Payments under financing lease obligation (116) (123) (123)
Payment of deferred financing and debt issuance costs 0 0 (20)
Proceeds from revolving credit facility 10,000 0 6,000
Repayment of revolving credit facility (10,000) 0 (8,500)
Payment of contingent consideration 0 (180) (310)
Proceeds from equity issuance 52 42 62
Royalty stock issuance 639 0 0
Purchase of treasury stock (540) (401) (1,155)
Net cash used in financing activities (7,290) (7,433) (7,896)
Effect of exchange rate changes on cash and cash equivalents 0 0 0
Net increase in cash and cash equivalents (20,078) 13,863 9,086
Cash and cash equivalents at beginning of year 25,588 11,725 2,639
Cash and cash equivalents at end of year $ 5,510 $ 25,588 $ 11,725