XML 22 R7.htm IDEA: XBRL DOCUMENT v3.21.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (UNAUDITED) - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Operating activities:    
Net (loss) income $ (38,441) $ 40,839
Adjustments to reconcile net (loss) income to net cash provided by operating activities:    
Depreciation, depletion and accretion of asset retirement obligation 18,937 16,092
Amortization of intangible assets 596 596
Loss on disposal of assets 223 299
Bad debt expense 19,592 0
Amortization of deferred financing cost 79 79
Accretion of debt discount 140 138
Deferred income taxes (7,543) 238
Stock-based compensation, net 2,131 2,909
Employee stock purchase plan compensation 24 29
Change in contingent consideration fair value 0 (1,020)
Gain on bargain purchase, net of cash acquired 0 (39,580)
Changes in assets and liabilities:    
Accounts receivable 34,791 (7,029)
Unbilled receivables (1,113) (4,491)
Inventory 3,755 306
Prepaid expenses and other assets (1,886) 3,751
Deferred revenue 6,092 3,912
Accounts payable 1,564 (205)
Accrued and other expenses (1,397) (607)
Income taxes payable 0 5,968
Net cash provided by operating activities 37,544 22,224
Investing activities:    
Purchases of property, plant and equipment (6,976) (7,444)
Proceeds from disposal of assets 78 51
Net cash used in investing activities (6,898) (7,393)
Financing activities:    
Proceeds from the issuance of notes payable 0 952
Repayments of notes payable (5,168) (3,527)
Payments under equipment financing obligations (92) (87)
Payment of deferred financing and debt issuance costs 0 (20)
Proceeds from revolving credit facility 0 6,000
Repayment of revolving credit facility 0 (8,500)
Payment of contingent consideration (180) (310)
Proceeds from equity issuance 42 62
Purchase of treasury stock (294) (1,046)
Net cash used in financing activities (5,692) (6,476)
Net increase in cash and cash equivalents 24,954 8,355
Cash and cash equivalents at beginning of year 11,725 2,639
Cash and cash equivalents at end of period 36,679 10,994
Noncash Investing and Financing Items [Abstract]    
Capitalized expenditures in accounts payable and accrued expenses $ 267 $ 157