XML 17 R6.htm IDEA: XBRL DOCUMENT v3.23.3
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2023
Sep. 30, 2022
Cash flows from operating activities    
Net income (loss) $ 37,014 $ (132,560)
Adjustments to reconcile net income (loss) to net cash used in operating activities:    
Depreciation and amortization expense 7,745 8,634
Amortization of premiums and discounts on marketable securities (3,276) 740
Stock-based compensation 14,014 15,697
Gain on modification of debt (150,930) 0
Non-cash interest expense recognized 1,430 0
Operating Lease, Noncash Expense 2,703 2,468
Other non-cash items 423 2,882
Loss on disposal of assets 111 0
Changes in operating assets and liabilities:    
Accounts receivable 30,911 (3,452)
Inventory 385 419
Prepaid expenses and other current assets 1,651 11,898
Other non current assets (7) 0
Accounts payable (1,607) (10,897)
Accrued expenses and other current liabilities (3,388) (184)
Lease liabilities (723) (3,447)
Deferred revenue 13,376 (8,477)
Net cash used in operating activities (50,168) (116,279)
Cash flows from investing activities    
Purchases of marketable securities (217,216) (75,457)
Proceeds from sale and maturities of marketable securities 99,390 155,190
Purchases of property, equipment and software (1,144) (3,230)
Proceeds from Sale of Machinery and Equipment 64 0
Net cash provided by (used in) investing activities (118,906) 76,503
Cash flows from financing activities    
Proceeds from issuance of common stock, net of offering costs 616 0
Proceeds from stock option exercises and ESPP purchases 279 314
Taxes paid related to net share settlement of equity awards (306) (14)
Principal payments on royalty monetization arrangement (156) 0
Net proceeds from sale of future royalties 149,655 0
Net cash provided by financing activities 150,088 300
Net change in cash and cash equivalents (18,986) (39,476)
Cash and cash equivalents at beginning of period 108,884 123,469
Cash and cash equivalents at end of period 89,898 83,993
Supplemental Cash Flow Information    
Property, equipment and software included in accounts payable or accruals $ 166 $ 295