XML 20 R7.htm IDEA: XBRL DOCUMENT v3.21.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (UNAUDITED) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Operating activities:    
Net (loss) income $ (31,179) $ 4,556
Adjustments to reconcile net (loss) income to net cash provided by operating activities:    
Depreciation, depletion and accretion of asset retirement obligation 12,604 10,697
Amortization of intangible assets 398 398
Loss (gain) on disposal of assets (60) 275
Bad debt expense 19,592 0
Amortization of deferred financing cost 53 53
Accretion of debt discount 93 92
Deferred income taxes (5,839) 1,004
Stock-based compensation, net 1,252 1,968
Employee stock purchase plan compensation 14 25
Change in contingent consideration fair value 0 (1,020)
Changes in assets and liabilities:    
Accounts receivable 39,756 2,957
Unbilled receivables (1,094) 4,717
Inventory 3,199 1,128
Prepaid expenses and other assets (2,391) 460
Deferred revenue 1,215 (2,196)
Accounts payable 1,698 (361)
Accrued and other expenses (2,831) (2,557)
Income taxes payable 0 3,646
Net cash provided by operating activities 36,480 25,842
Investing activities:    
Purchases of property, plant and equipment (5,043) (6,423)
Proceeds from disposal of assets 2 0
Net cash used in investing activities (5,041) (6,423)
Financing activities:    
Proceeds from the issuance of notes payable 0 952
Repayments of notes payable (3,370) (2,482)
Payments under equipment financing obligations (65) (56)
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 17 46
Purchase of treasury stock (288) (1,045)
Net cash used in financing activities (3,886) (5,415)
Net increase in cash and cash equivalents 27,553 14,004
Cash and cash equivalents at beginning of year 11,725 2,639
Cash and cash equivalents at end of period 39,278 16,643
Noncash Investing and Financing Items [Abstract]    
Asset retirement obligation 737 0
Capitalized expenditures in accounts payable and accrued expenses 172 225
Stock Issued $ 20 $ 0