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) income $ (4,245) $ 2,039
Adjustments to reconcile net (loss) income to net cash provided by operating activities:    
Depreciation and amortization 3,626 3,629
Amortization of debt issuance costs and discounts (premium) on debt 797 634
Stock-based compensation 830 323
Change in fair value of stock warrants 0 1,347
Loss on disposal of assets, net 3 672
Proceeds from insurance related to property damage 0 1,334
Loss on modification and extinguishment of debt, net 4,425 6,104
Increases and decreases in operating assets and liabilities:    
Accounts receivable (4,196) 1,506
Prepaid expenses, inventories and other (1,309) (4,209)
Deferred taxes (45) 284
Common stock warrant liability 0 (4,000)
Contract liabilities 3,238 25
Accounts payable and accrued expenses 1,064 9,094
Net cash provided by operating activities 4,188 18,782
Cash flows from investing activities:    
Purchase of property and equipment (64,061) (10,539)
Other (965) (32)
Net cash used in investing activities (65,026) (10,571)
Cash flows from financing activities:    
Proceeds from Senior Secured Notes due 2028 borrowings 100,000 310,000
Proceeds from premium on Senior Secured Notes due 2028 borrowings 2,000 0
Proceeds from equity offering, net of issuance costs 0 42,974
Payment of debt discount and issuance costs (7,841) (9,405)
Repayment of Senior Secured Notes due 2024 0 (106,825)
Prepayment premiums of Senior Secured Notes due 2024 0 (1,261)
Repayment of finance lease obligation (254) (242)
Proceeds from exercise of stock options 139 367
Other (108) 24
Net cash provided by financing activities 93,936 235,632
Net increase in cash, cash equivalents and restricted cash 33,098 243,843
Cash, cash equivalents and restricted cash, beginning of period 265,293 37,698
Cash, cash equivalents and restricted cash, end of period 298,391 281,541
Supplemental Cash Flow Information:    
Cash paid for interest, net of amounts capitalized 13,745 891
Non-Cash Investing Activities:    
Accounts payable related capital expenditures $ 12,089 $ 2,681

Source