XML 24 R6.htm IDEA: XBRL DOCUMENT v3.23.1
STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Cash flows from operating activities:    
Net loss $ (99,317) $ (115,870)
Adjustments to reconcile net loss to net cash (used in) provided by operating activities:    
Amortization of intangible assets 146 146
Depreciation and amortization 2,297 2,560
Impairment loss on machinery and equipment 254  
Amortization of premium (accretion of discounts) on investments (52) 272
Stock-based compensation expense 13,125 13,167
Non-cash lease expense 3,413 3,133
Changes in operating assets and liabilities    
Accounts receivable (35,196) 8
Prepaid expenses and other current assets (3,181) 2,811
Other assets 874 1,271
Accounts payable 68 (139)
Accrued liabilities, income tax payable and other long-term liabilities (9,784) 7,558
Deferred revenue 16,565 (33,948)
Net cash used in operating activities (110,788) (119,031)
Cash flows from investing activities:    
Purchases of property and equipment (1,740) (1,609)
Purchases of short-term investments 0 (99,898)
Maturities of short-term investments 100,000 123,996
Net cash provided by investing activities 98,260 22,489
Cash flows from financing activities:    
Proceeds from issuance of common stock, net of issuance costs 0 107,712
Proceeds from employee stock purchase plan and exercise of stock options 648 2,501
Net cash provided by financing activities 648 110,213
Net increase (decrease) in cash, cash equivalents and restricted cash (11,880) 13,671
Cash, cash equivalents and restricted cash, beginning of year 206,447 192,776
Cash, cash equivalents and restricted cash, end of year 194,567 206,447
Supplemental disclosures of noncash investing items:    
Purchases of property and equipment in accounts payable and accrued liabilities $ 6 $ 83