Annual report pursuant to Section 13 and 15(d)

CONSOLIDATED STATEMENTS OF CASH FLOWS

v3.22.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
CASH FLOWS FROM OPERATING ACTIVITIES:    
Net loss $ (70,649) $ (240,388)
Adjustments to reconcile net loss to cash provided by (used in) operating activities:    
Depreciation and amortization 35,444 80,353
Change in fair value of warrant liabilities 2,152 (6,342)
Impairment of long-lived assets 147,543
Provision for losses on accounts receivable 9 12,031
Provision for losses on inventory obsolescence 2,461 620
(Gain) loss on disposal of assets (21,896) 7,112
Convertible senior notes converted into sales of patent licenses (22,500)  
Amortization of debt discount, premium and issuance costs 6,401 4,896
Paid-in-kind interest on convertible senior notes 9,686  
Loss on extinguishment of debt, net 6,142  
Share-based compensation expense 11,694 10,056
Changes in assets and liabilities:    
Accounts receivable 18,642 23,118
Inventory (847) 468
Prepaids and other current assets (6,063) 6,288
Accounts payable 888 (23,999)
Accrued liabilities (4,387) (6,208)
Accrued interest 13,546 (6,932)
Net cash provided by (used in) operating activities (19,277) 8,616
CASH FLOWS FROM INVESTING ACTIVITIES:    
Purchase of property and equipment (57,724) (55,943)
Proceeds from sale of property and equipment and insurance proceeds from damaged property and equipment 113,880 20,944
Net cash provided by (used in) investing activities 56,156 (34,999)
CASH FLOWS FROM FINANCING ACTIVITIES:    
Proceeds from revolving credit facility 32,160 68,957
Repayments of revolving credit facility (41,700) (85,497)
Proceeds from issuance of long-term debt 3,004 31,996
Repayments of long-term debt (125,506) (3,750)
Payment of fees related to debt extinguishment (2,025)  
Proceeds from issuance of convertible senior notes 97,500  
Proceeds from issuance of notes payable 10,699 1,121
Repayments of notes payable (9,377) (7,507)
Repayments of amounts under equipment financing (4,327) (3,199)
Principal payments under capital lease obligations (620) (10,474)
Proceeds from issuance of preferred stock and warrants, net   19,596
Proceeds from issuance of common stock, net 14,667 400
Deferred financing costs (7,496) (21,402)
Net cash used in financing activities (33,021) (9,759)
Net increase (decrease) in cash and cash equivalents and restricted cash 3,858 (36,142)
Cash and cash equivalents and restricted cash, beginning of period 5,262 41,404
Cash and cash equivalents and restricted cash, end of period 9,120 5,262
Supplemental cash flow disclosure:    
Interest paid 2,423 26,287
Income tax (refunds received) paid (810) 144
Non-cash investing and financing activities:    
Exchange of Series A preferred stock for convertible senior notes 24,780  
Deemed and imputed dividends on Series A preferred stock 750 13,022
Changes in accrued and unpaid capital expenditures 8,070 9,818
Assets under capital lease obligations 3,595 229
Common Class A [Member]    
Non-cash investing and financing activities:    
Issuance of stock to senior secured term loan lenders   1,438
Series B Redeemable Convertible Preferred Stock [Member]    
Non-cash investing and financing activities:    
Issuance of stock to senior secured term loan lenders   1,050
Conversion of preferred stock to Class A common stock 27,277  
Dividends accrued on preferred stock 4,591 2,049
Series A Redeemable Convertible Preferred Stock [Member]    
Non-cash investing and financing activities:    
Conversion of preferred stock to Class A common stock   4,852
Dividends accrued on preferred stock $ 5,857 $ 7,214