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 $ (38,326) $ (196,220)
Adjustments to reconcile net loss to cash provided by (used in) operating activities:    
Depreciation and amortization 20,942 49,366
Change in fair value of warrant liabilities 7,287 (5,189)
Impairment of long-lived assets   147,543
Provision for losses on accounts receivable 9 9,031
Provision for losses on inventory obsolescence 1,398 448
Loss on disposal of assets 1,891 5,097
Convertible senior notes converted into sales of patent licenses (22,500)  
Amortization of debt discount, premium and issuance costs 3,606 1,883
Paid-in-kind interest on convertible senior notes 258  
Loss on extinguishment of debt 839  
Share-based compensation expense 3,661 3,481
Changes in assets and liabilities:    
Accounts receivable (10,506) 32,053
Inventory (964) 826
Prepaids and other current assets (7,708) 3,743
Accounts payable 6,427 (8,332)
Accrued liabilities (2,641) (7,902)
Accrued interest 7,956 (14,315)
Net cash provided by (used in) operating activities (28,371) 21,513
CASH FLOWS FROM INVESTING ACTIVITIES:    
Purchase of property and equipment (24,841) (40,756)
Proceeds from sale of property and equipment and insurance proceeds from damaged property and equipment 8,553 15,036
Net cash used in investing activities (16,288) (25,720)
CASH FLOWS FROM FINANCING ACTIVITIES:    
Proceeds from revolving credit facility 24,722 11,250
Repayments of revolving credit facility (14,750) (33,381)
Proceeds from issuance of long-term debt 3,004  
Repayments of long-term debt (12,563) (2,500)
Payment of fees related to debt extinguishment (41)  
Proceeds from issuance of convertible senior notes 86,500  
Proceeds from issuance of notes payable 9,139  
Repayments of notes payable (3,697) (4,109)
Repayments of amounts under equipment financing (1,738) (1,513)
Principal payments under capital lease obligations (109) (2,816)
Proceeds from issuance of common stock, net 13,562 19,875
Deferred financing costs (6,569) (20,061)
Net cash provided by (used in) financing activities 97,460 (33,255)
Net increase (decrease) in cash and cash equivalents and restricted cash 52,801 (37,462)
Cash and cash equivalents and restricted cash, beginning of period 5,262 41,404
Cash and cash equivalents and restricted cash, end of period 58,063 3,942
Supplemental cash flow disclosure:    
Interest paid 1,276 25,492
Non-cash investing and financing activities:    
Exchange of Series A preferred stock for convertible senior notes 24,780  
Conversion of Series B preferred stock to Class A common stock 1,067  
Deemed and imputed dividends on preferred stock 750 12,114
Changes in accrued and unpaid capital expenditures 7,543 13,790
Assets under capital lease obligations 1,113  
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
Deemed and imputed dividends on preferred stock 5,669  
Dividends accrued on preferred stock 1,522 666
Series A Redeemable Convertible Preferred Stock [Member]    
Non-cash investing and financing activities:    
Deemed and imputed dividends on preferred stock 750 12,114
Dividends accrued on preferred stock $ 3,811 $ 3,596

Source