v3.24.2.u1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2024
Jun. 30, 2023
CASH FLOWS FROM OPERATING ACTIVITIES:    
Net loss $ 16,908 $ (41,738)
Adjustments to reconcile net income (loss) to net cash flows provided by (used in) operating activities:    
Provision for loss on accounts receivable 13 8
Loss on disposal of property, plant and equipment 286 464
Share-based compensation 25,755 16,862
Inventory obsolescence 699 0
Depreciation and amortization 33,324 28,930
Write-off and amortization of deferred financing costs and loan discount 1,035 3,034
Change in operating lease right of use asset 766 807
Loss on equity method investment 0 1,890
Gain on equity investment (9,918) 0
Amortization of discount on short-term investments 0 (996)
Changes in operating assets and liabilities:    
Accounts receivable (11,407) 5,675
Inventories (8,685) (6,979)
Prepaid expenses and other current assets (3,968) (430)
Other assets (1,240) (3,762)
Accounts payable (981) (7,488)
Accrued expenses 6,069 4,529
Operating lease liability (837) (1,037)
Net cash flows provided by (used in) operating activities 47,819 (231)
CASH FLOWS FROM INVESTING ACTIVITIES:    
Purchase of short-term investments 0 (113,441)
Acquisitions of property, plant and equipment, software and deposits on equipment (94,795) (102,507)
Net cash flows used in investing activities (94,795) (215,948)
CASH FLOWS FROM FINANCING ACTIVITIES:    
Proceeds from exercise of options to purchase common stock 4,196 3,061
Tax withholdings related to net shares settlements of restricted stock units (1,440) (850)
Purchase of capped call options 0 (66,211)
Proceeds from issuance of convertible senior notes 0 393,518
Debt issuance costs 0 (2,026)
Principal payments under finance lease obligations (952) 0
Net cash flows provided by financing activities 1,804 327,492
NET CHANGE IN CASH AND CASH EQUIVALENTS (45,172) 111,313
CASH AND CASH EQUIVALENTS, BEGINNING OF YEAR 296,871 132,735
CASH AND CASH EQUIVALENTS, END OF PERIOD 251,699 244,048
SUPPLEMENTAL CASH FLOW INFORMATION:    
Interest paid 7,165 1,217
NON-CASH FINANCING AND INVESTING ACTIVITIES:    
Property, plant and equipment purchases in accounts payable and accrued expenses 14,493 34,799
Capitalized interest in accrued expenses 0 181
Tax withholdings related to net shares settlements of restricted stock units in accrued expenses $ 719 $ 0