XML 21 R7.htm IDEA: XBRL DOCUMENT v3.25.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2024
Dec. 31, 2023
Dec. 31, 2022
Operating activities      
Net loss $ (159,595) $ (225,304) $ (200,368)
Adjustments to reconcile net loss to net cash used in operating activities      
Depreciation expense 17,553 20,532 19,221
Noncash lease expense 5,277 6,920 7,227
Share-based compensation expense 53,610 62,908 55,477
Intangible assets amortization 1,703 1,699 1,699
Investment amortization (8,208) (9,184) 741
Impairment of long-lived assets 7,205 25,429  
Inventory reserve 1,938 1,387 2,638
Noncash interest expense 2,618 5,300 985
Other 141 172 (19)
Changes in operating assets and liabilities      
Accounts receivable, net (3,744) 2,032 (22,648)
Inventory 5,372 (2,838) 817
Prepaid expenses and other current assets 83 (1,930) 3,551
Accounts payable and accrued liabilities 671 (5,407) 7,111
Operating lease right-of-use assets and liabilities (9,385) (8,676) (4,050)
Deferred revenue (10,478) (29,291) (56,496)
Other 27 (73) 169
Net cash used in operating activities (95,212) (156,324) (183,945)
Investing activities      
Purchases of property and equipment (3,664) (10,697) (16,349)
Purchases of marketable securities (244,257) (429,558) (278,778)
Proceeds from maturities of marketable securities 325,713 569,902 298,032
Net cash provided by investing activities 77,792 129,647 2,905
Financing activities      
Proceeds from exercise of stock options 241 2,245 7,890
Proceeds from revenue interest purchase agreement, net of issuance costs     124,375
Net cash provided by financing activities 241 2,245 132,265
Net decrease in cash, cash equivalents and restricted cash (17,179) (24,432) (48,775)
Cash, cash equivalents and restricted cash at beginning of year 67,996 92,428 141,203
Cash, cash equivalents and restricted cash at end of year 50,817 67,996 92,428
Noncash investing activities      
Purchases of equipment included in accounts payable and accrued liabilities 1,275 687 1,719
Supplemental disclosure of cash flow information      
Cash paid for interest $ 8,864 $ 8,985 $ 494