v3.26.1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2026
Jun. 30, 2025
CASH FLOWS FROM OPERATING ACTIVITIES:    
Net (loss) income $ (35,651) $ 13,826
Adjustments to reconcile net (loss) income to net cash (used in) provided by operating activities:    
Stock-based compensation 16,681 12,905
Interest on liability for sale of future royalties 3,071 7,052
Sold portion of royalty revenue (6,512) (6,123)
Write-off of inventory 2,447 5,058
Noncash lease expense of right-of-use assets 976 1,075
Depreciation and amortization 12,780 4,193
(Gain) loss on foreign currency transactions (1,804) 7,872
Net accretion of investments (452) (1,678)
Change in fair value of contingent consideration liability 7,769  
Amortization of debt discount and issuance costs 866 218
Loss on settlement of debt 917  
Other, net (61)  
Changes in operating assets and liabilities:    
Accounts receivable, net (4,780) (15,338)
Inventory (11,553) (5,663)
Prepaid expenses and other current assets (403) (5,371)
Other assets 2,032 (1,525)
Accounts payable 1,992 3,465
Accrued expenses and other current liabilities (2,940) (9,333)
Deferred revenue (7,366) (7,141)
Operating lease liabilities (1,745) (919)
Net cash (used in) provided by operating activities (23,736) 2,573
CASH FLOWS FROM INVESTING ACTIVITIES:    
Proceeds from maturities of available-for-sale securities 53,897 101,792
Purchase of available-for-sale securities (10,301) (88,127)
Purchase of property and equipment (6,962) (1,447)
Net cash provided by investing activities 36,634 12,218
CASH FLOWS FROM FINANCING ACTIVITIES:    
Principal payments on senior convertible notes (35,502) 0
Net proceeds related to issuance of common stock associated with restricted stock units and stock options (718) (4,393)
Milestone payment   (639)
Principal payments on financing liability (539) (376)
Proceeds from market price stock purchase plan and employee stock purchase plan 1,912 1,288
Net cash used in financing activities (34,847) (4,120)
NET (DECREASE) INCREASE IN CASH, CASH EQUIVALENTS AND RESTRICTED CASH (21,949) 10,671
CASH, CASH EQUIVALENTS AND RESTRICTED CASH, BEGINNING OF PERIOD 75,627 47,076
CASH, CASH EQUIVALENTS AND RESTRICTED CASH, END OF PERIOD 53,678 57,747
SUPPLEMENTAL CASH FLOWS DISCLOSURES:    
Interest paid in cash 14,500 5,569
Income taxes paid in cash 816 1,076
NON-CASH INVESTING AND FINANCING ACTIVITIES:    
Issuance of common stock upon settlement of senior convertible notes 1,735  
Amortization of liability for sale of future royalties (3,553) 814
Non-cash construction-in-progress, property and equipment $ (177) $ 250