XML 16 R6.htm IDEA: XBRL DOCUMENT v3.23.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Cash flows from operating activities    
Net income (loss) $ 19,460 $ (107,747)
Adjustments to reconcile net income (loss) to net cash used in operating activities:    
Depreciation and amortization expense 5,795 5,790
Amortization of premiums and discounts on marketable securities (1,404) 628
Stock-based compensation 9,224 10,574
Gain on modification of debt (100,930) 0
Non-cash interest expense recognized 1,430 0
Other non-cash items (236) (1,077)
Loss on disposal of assets (103) 0
Changes in operating assets and liabilities:    
Accounts receivable 49,812 (7,999)
Inventory 8 362
Prepaid expenses and other current assets 3,686 8,611
Non-cash lease expense 1,834 1,622
Other non current assets (7) 0
Accounts payable (1,104) (12,896)
Accrued expenses and other current liabilities (1,293) (1,697)
Lease liabilities (513) (2,264)
Deferred revenue (1,259) (2,918)
Net cash used in operating activities (14,922) (106,857)
Cash flows from investing activities    
Purchases of marketable securities (148,040) (75,457)
Proceeds from sale and maturities of marketable securities 63,250 82,440
Purchases of property, equipment and software (645) (2,426)
Proceeds from Sale of Machinery and Equipment 54 0
Net cash provided by (used in) investing activities (85,381) 4,557
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 227 300
Taxes paid related to net share settlement of equity awards (165) 0
Principal payments on royalty monetization arrangement (156) 0
Net proceeds from sale of future royalties 99,655 0
Net cash provided by financing activities 100,177 300
Net change in cash and cash equivalents (126) (102,000)
Cash and cash equivalents at beginning of period 108,884 123,469
Cash and cash equivalents at end of period 108,758 21,469
Supplemental Cash Flow Information    
Property, equipment and software included in accounts payable or accruals $ 177 $ 295