v3.22.2.2
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Cash flows from operating activities:    
Net income (loss) $ 55,239 $ (27,182)
Adjustments to reconcile net income (loss) to net cash used in operating activities:    
Non-cash royalty revenue related to royalty monetization 0 (83)
Non-cash interest income on liability related to royalty monetization (1,136) (2,345)
Depreciation and amortization 1,305 1,512
Non-cash interest expense related to debt financing 333 607
Stock-based compensation 2,237 3,482
Non-cash gain on termination of liability related to royalty monetization (84,152) 0
Impairment of property and equipment 4,901 0
Other (47) 89
Changes in operating assets and liabilities:    
Accounts receivable (352) 482
Inventories 210 (180)
Prepaid expenses and other assets 375 320
Accounts payable 25 281
Accrued liabilities (1,456) 390
Operating lease liabilities (357) (559)
Deferred revenue (43) 1,188
Net cash used in operating activities (22,918) (21,998)
Cash flows from investing activities:    
Purchase of property and equipment (316) (1,799)
Purchase of investments (7,369) (53,869)
Cash paid for asset acquisition, net of cash acquired (1,687) 0
Proceeds from maturities of investments 43,162 33,984
Net cash provided by (used in) investing activities 33,790 (21,684)
Cash flows from financing activities:    
Payment of long-term debt (6,250) (6,750)
Net proceeds from issuance of Issuance of Series A Redeemable Convertible Preferred Stock and Warrants 239 0
Net proceeds from issuance of common stock in connection with equity financings 192 36,360
Net proceeds from issuance of common stock through equity plans 74 318
Payment of employee tax obligations related to vesting of restricted stock units (58) (249)
Net cash (used in) provided by financing activities (5,803) 29,679
Net increase (decrease) in cash, cash equivalents and restricted cash 5,069 (14,003)
Cash, cash equivalents and restricted cash—Beginning of period (See reconciliation in Note 1) 12,663 27,274
Cash, cash equivalents and restricted cash—End of period (See reconciliation in Note 1) 17,732 13,271
NONCASH INVESTING ACTIVITIES:    
Purchases of property and equipment in accounts payable and accrued liabilities 1,327 703
Liability for held back shares in connection with asset acquisition in other long-term liabilities 800 0
Issuance of common stock in connection with asset acquisition 5,511 0
Establishment of right-of-use asset and lease liability $ 85 $ 0