XML 16 R7.htm IDEA: XBRL DOCUMENT v3.23.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Cash flows from operating activities    
Net income (loss) $ 4,772 $ (3,856)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Depreciation of property and equipment 515 634
Stock-based compensation 7,600 8,608
Amortization of premiums and accretion of discounts on marketable securities (4,241) (2)
Loss on sale of marketable securities 655 0
Intangible asset amortization 757 758
Deferred income taxes 3,469 2,550
Other non-cash adjustments, net 1,844 975
Changes in operating assets and liabilities:    
Accounts receivable (199) 3,575
Prepaid expenses and other assets 8,527 (13,691)
Inventory 210 (1,582)
Accounts payable and other liabilities (14,035) 13,732
Product revenue allowances 8,709 (1,970)
Net cash provided by operating activities 18,583 9,731
Cash flows from investing activities    
Purchases of property and equipment (106) (268)
Purchases of marketable securities (410,979) (175,985)
Sales and maturities of marketable securities 407,485 172,527
Net cash used in investing activities (3,600) (3,726)
Cash flows from financing activities    
Proceeds from exercise of stock options 0 125
Net cash provided by financing activities 0 125
Effect of exchange rate changes on cash, cash equivalents and restricted cash 19 22
Net change in cash, cash equivalents and restricted cash 15,002 6,152
Cash, cash equivalents and restricted cash    
Beginning of period 135,498 52,590
End of period $ 150,500 $ 58,742