v3.26.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Cash flows from operating activities:    
Net loss $ (46,955) $ (310,305)
Adjustments to reconcile net loss to net cash provided by operating activities:    
Depreciation 9,673 11,589
Amortization of debt issuance costs 3,385 1,612
Loss on property damage 8,910  
Insurance recovery receivable (8,910)  
Provision for bad debt (18) 32
Stock-based compensation expense 3,733 4,767
Impairment of property, plant and equipment   288,021
Deferred taxes (1,113)  
Reduction in the carrying amount of operating lease right-of-use assets 1,948 1,844
Changes in operating assets and liabilities:    
Accounts receivable (4,990) 32,905
Inventories 10,301 (4,564)
Prepaid expenses and other assets (4,538) 14,782
Accounts payable 8,216 (14,579)
Accrued expenses 6,177 (20,931)
Deferred revenue 34,013 (1,575)
Operating lease and other liabilities (1,887) (1,896)
Net cash provided by operating activities 17,945 1,702
Cash flows from investing activities:    
Capital expenditures (3,169) (25,883)
Net cash used in investing activities (3,169) (25,883)
Cash flows from financing activities:    
Proceeds from employee stock option exercises 198 231
Repayment of lease and other finance obligations (2,992) (2,464)
Payments made for employee restricted stock tax withholdings (203) (602)
Repayment of revolving line of credit (7,600) (13,200)
Borrowing from revolving line of credit 3,500  
Repayment of term loan (13,000) (13,000)
Fees and issuance costs from offering of common stock   (28)
Proceeds from employee stock purchase plan 172  
Net cash used in financing activities (19,925) (29,063)
Net decrease in cash, cash equivalents and restricted cash (5,149) (53,244)
Cash, cash equivalents and restricted cash at beginning of period 158,570 221,276
Cash, cash equivalents and restricted cash at end of period 153,421 168,032
Supplemental disclosures of cash flow information:    
Interest paid 4,442 6,563
Income taxes paid 195 3,300
Supplemental disclosures of non-cash activities:    
Changes in accrued capital expenditures $ (501) $ (2,778)