v3.22.4
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Cash flows from operating activities      
Net income $ 6,275 $ 33,152 $ 23,337
Adjustments to reconcile net income to net cash provided by operating activities:      
Depreciation of property and equipment 1,217 1,363 1,386
Stock-based compensation 16,279 15,374 13,360
Amortization of premiums and accretion of discounts on marketable securities (2,963) 1,649 179
Gains on sales of marketable securities 0 (12) (229)
Intangible asset amortization 1,516 1,478 1,478
Deferred income taxes 1,130 6,745 6,189
Other non-cash adjustments, net 2,456 1,728 1,758
Changes in operating assets and liabilities:      
Accounts receivable (1,089) (2,469) (3,767)
Prepaid expenses and other assets (6,136) (1,247) 4,068
Inventory (4,479) (2,233) (2,876)
Accounts payable and other liabilities 11,793 3,040 3,759
Product revenue allowances 5,985 5,646 3,133
Net cash provided by operating activities 31,984 64,214 51,775
Cash flows from investing activities      
Purchases of property and equipment (679) (552) (1,795)
Purchases of marketable securities (349,258) (420,461) (346,622)
Sales and maturities of marketable securities 399,862 344,317 306,918
Net cash provided by (used in) investing activities 49,925 (76,696) (41,499)
Cash flows from financing activities      
Proceeds from exercise of stock options 734 3,550 5,634
Net cash provided by financing activities 734 3,550 5,634
Effect of exchange rate changes on cash, cash equivalents and restricted cash 265 (91) 53
Net change in cash, cash equivalents and restricted cash 82,908 (9,023) 15,963
Cash, cash equivalents and restricted cash      
Beginning of year 52,590 61,613 45,650
End of year $ 135,498 $ 52,590 $ 61,613