XML 18 R6.htm IDEA: XBRL DOCUMENT v3.22.2.2
Unaudited Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Operating activities from continuing operations:    
Net income (loss) $ 64,389 $ (52,548)
Adjustments to reconcile net loss to cash provided by operating activities:    
Depreciation and amortization 10,006 11,824
Loss on asset disposals, abandonments and write-downs 166 121
Provision for expected credit losses 855 55
Deferred income taxes 10,470 147
Stock-based compensation expense 14,101 10,144
Amortization of deferred financing costs and interest rate caps 2,486 3,718
Accretion of debt discount 345 303
Loss on settlement of convertible notes 0 83,961
Changes in operating assets and liabilities:    
Accounts receivable (12,289) (520)
Inventories (12,622) (1,850)
Prepaid expenses and other current assets 12,862 (26,794)
Contract assets (2,836) (4,689)
Accounts payable 1,116 2,474
Accrued liabilities (16,245) 16,245
Deferred revenue (222) (849)
Accrued interest 1,720 (7,034)
Other non-current assets and liabilities (2,363) 1,647
Net cash provided by operating activities from continuing operations 71,939 36,355
Investing activities from continuing operations:    
Proceeds from sale of property and equipment 0 1,000
Purchases of property and equipment (35,187) (2,833)
Acquisition of intangible assets—capitalized software (4,745) (1,171)
Proceeds from (purchase of) interest rate caps 803 (8,629)
Net cash used in investing activities from continuing operations (39,129) (11,633)
Financing activities from continuing operations:    
Redemption of senior secured notes 0 (1,023,146)
Proceeds from term loan, net of discount 0 721,375
Payments on term loan (5,438) (1,813)
Payment of debt issuance costs 0 (20,251)
Repurchases of common stock, value (18,375) 0
Payments on finance leases (136) (154)
Stock-based compensation activity (2,703) (2,234)
Net cash used in financing activities from continuing operations (26,652) (326,223)
Cash flows from discontinued operations:    
Cash used in operating activities 0 (809)
Cash used in investing activities 0 0
Cash used in financing activities 0 0
Net cash used in discontinued operations 0 (809)
Effect of exchange rate changes on cash 65 28
Increase (decrease) in cash, cash equivalents and restricted cash 6,223 (302,282)
Cash, cash equivalents and restricted cash at beginning of period 146,268 435,870
Cash, cash equivalents and restricted cash at end of period 152,491 133,588
Less: current restricted cash 0 25
Less: non-current restricted cash 330 330
Cash and cash equivalents at end of period 152,161 133,233
Supplemental Cash Flow Information:    
Cash paid for interest 28,841 59,660
Cash paid for taxes 289 326
Non-cash investing activities:    
Purchases of property and equipment in current liabilities $ 11,549 $ 225