XML 17 R7.htm IDEA: XBRL DOCUMENT v3.24.3
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2024
Sep. 30, 2023
Cash flows from operating activities    
Net income (loss) $ (13,988) $ 4,909
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Depreciation of property and equipment 638 715
Stock-based compensation 9,569 10,767
Amortization of premiums and accretion of discounts on marketable securities (5,479) (7,053)
Loss on sale of marketable securities 0 655
Intangible asset amortization 5,521 1,137
Deferred income taxes (4,568) 6,198
Other non-cash adjustments, net 1,643 2,772
Changes in operating assets and liabilities:    
Accounts receivable (8,581) 4,129
Prepaid expenses and other assets (3,179) 1,333
Inventory 78 (344)
Accounts payable and other liabilities 3,835 (14,315)
Product revenue allowances 571 5,630
Net cash provided by (used in) operating activities (13,940) 16,533
Cash flows from investing activities    
Asset acquisition (4,229) 0
Purchases of property and equipment (276) (130)
Purchases of marketable securities (272,369) (457,628)
Sales and maturities of marketable securities 255,451 489,485
Net cash provided by (used in) investing activities (21,423) 31,727
Effect of exchange rate changes on cash, cash equivalents and restricted cash 39 (103)
Net change in cash, cash equivalents and restricted cash (35,324) 48,157
Cash, cash equivalents and restricted cash    
Beginning of period 136,290 135,498
End of period $ 100,966 $ 183,655