v3.22.2
CONSOLIDATED STATEMENTS OF CASH FLOWS (UNAUDITED) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Cash flows from operating activities:    
Net loss $ (50,755) $ (23,967)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 2,275 2,129
Foreign exchange gain on long-term debt (16) (1)
Bad debt expense 7 138
Gain on extinguishment of debt (2,096)
Change in fair value of warrants and derivatives (3,936) 4,517
Non-cash debt amendment fee 463
Share-based compensation 13,536 1,489
Total adjustments 12,329 6,176
Changes in operating assets and liabilities:    
Decrease in accounts receivable 9,706 30,812
Increase in inventory (302) (1,029)
Decrease (increase) in prepaid expenses and other current assets 2,221 (1,460)
Decrease in other non-current assets 181 56
Decrease in accounts payable (3,040) (18,959)
Increase (decrease) in deferred revenue 1,686 (2,792)
(Decrease) increase in other accrued expenses (65) 3,713
Increase (decrease) in other long-term liabilities 151 (247)
Increase in accrued interest on long-term debt 5,394 3,881
Net cash used in operating activities (22,494) (3,816)
Cash flows from investing activities:    
Purchase of property, plant and equipment (1,632) (3,123)
Net cash used in investing activities (1,632) (3,123)
Cash flows from financing activities:    
Repayments of senior term loan (2,640)
Proceeds from the exercise of stock options 69
Proceeds from the sale of Series H stock, net 505
Proceeds from the issuance of Series H warrants 142
Net cash (used in) provided by financing activities (2,640) 716
Net decrease in cash, cash equivalents and restricted cash (26,766) (6,223)
Cash, cash equivalents and restricted cash, beginning of year 63,122 18,618
Cash, cash equivalents and restricted cash, end of period 36,356 12,395
Supplemental disclosures of cash flow information    
Cash paid for interest 2,852 1,043
Cash (refunded) paid for income taxes (146) 976
Supplemental disclosure of non-cash financing activities:    
Cash and cash equivalents 36,305 12,208
Restricted cash 51 187
Total cash, cash equivalents and restricted cash shown in the unaudited condensed consolidated statement of cash flows $ 36,356 $ 12,395

Source