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 $ (82,824) $ (450,125)
Non-cash adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 28,520 27,244
Amortization and interest accretion related to operating leases 21,658 22,282
Non-cash interest expense on liability related to the sale of future royalties 61,103 51,647
Stock-based compensation expense 134,635 115,749
Realized and unrealized loss on marketable equity securities 1,289 867
Change in fair value of development derivative liability 64,228 36,686
Other (15,365) (8,252)
Changes in operating assets and liabilities:    
Accounts receivable, net 10,050 16,183
Inventory 6,816 1,582
Prepaid expenses and other assets (13,775) (29,109)
Accounts payable, accrued expenses and other liabilities 69,605 766
Operating lease liability (23,791) (23,847)
Deferred revenue (219,506) 12,866
Net cash provided by (used in) operating activities 42,643 (225,461)
Cash flows from investing activities:    
Purchases of property, plant and equipment (20,991) (29,810)
Purchases of marketable securities (717,826) (812,887)
Sales and maturities of marketable securities 705,137 757,767
Proceeds from maturity of restricted investments 57,875 58,475
Purchases of restricted investments (57,875) (58,475)
Net cash used in investing activities (33,680) (84,930)
Cash flows from financing activities:    
Proceeds from exercise of stock options and other types of equity, net 158,637 91,765
Proceeds from development derivative, net 1,770 8,000
Net cash provided by financing activities 160,407 99,765
Effect of exchange rate changes on cash, cash equivalents and restricted cash (13,061) 2,046
Net increase (decrease) in cash, cash equivalents and restricted cash 156,309 (208,580)
Cash, cash equivalents and restricted cash, beginning of period 814,884 868,556
Cash, cash equivalents and restricted cash, end of period 971,193 659,976
Supplemental disclosure of cash flows:    
Cash paid for interest $ 39,101 $ 17,128