XML 18 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
Cash flows from operating activities    
Net loss $ (36,503) $ (120,223)
Adjustments to reconcile net loss to cash from operating activities    
Depreciation and amortization 31,439 36,970
Equity-based compensation expense 6,297 5,661
Goodwill impairment 0 57,146
Loss on asset impairments and retirements 307 20,532
Amortization of deferred financing costs 194 194
Deferred tax provision (benefit) 0 (1,690)
Provision for (recovery of) bad debts 437 1,750
Gain on disposal of assets (1,661) (590)
Changes in fair value of investments (1,012) 813
Other 0 (380)
Changes in operating assets and liabilities    
Accounts receivable (17,618) 24,465
Inventories (12,863) (4,539)
Other current assets 1,320 2,272
Other assets 672 390
Accounts payable and accrued liabilities 13,085 (15,187)
Deferred revenue (2) (226)
Other non-current liabilities (152) (3,212)
Net cash provided by (used in) operating activities (16,060) 4,146
Cash flows from investing activities    
Purchases of property, plant and equipment and intangibles (4,517) (20,259)
Proceeds from sale of assets 4,209 6,565
Proceeds from sale of investments 1,501 2,832
Purchase of investments (1,294) 0
Investment in intellectual property (1,608) 0
Other (179) (256)
Net cash used in investing activities (1,888) (11,118)
Cash flows from financing activities    
Repayments of borrowings (1,431) 0
Treasury shares withheld for taxes (1,930) (1,086)
Treasury share repurchase 0 (1,498)
Proceeds from the issuance of ESPP shares 447 552
Net cash used in financing activities (2,914) (2,032)
Effect of exchange rate changes on cash (28) 6,543
Net decrease in cash, cash equivalents and restricted cash (20,890) (2,461)
Cash, cash equivalents and restricted cash at beginning of period 211,247 196,740
Cash, cash equivalents and restricted cash at end of period $ 190,357 $ 194,279