XML 20 R7.htm IDEA: XBRL DOCUMENT 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 loss $ (68,739) $ (53,992)
Adjustments to reconcile net loss to cash used in operating activities:    
Depreciation 6,580 3,957
Stock-based compensation 17,139 16,085
Amortization of operating lease right-of-use assets 2,328 1,602
Non-cash interest and other expense related to debt and note receivable agreements 48 51
Provision for excess and obsolete inventory 512 431
Loss on disposal and impairment of property and equipment 48 61
Other non-cash 227 0
Changes in operating assets and liabilities:    
Trade accounts receivable 5,687 (11,773)
Inventory (1,390) (5,121)
Prepaid expenses, other current assets and other assets 1,956 (3,345)
Trade accounts payable 591 8,096
Deferred revenue (5,149) 5,910
Accrued expenses and other current liabilities 3,523 806
Operating lease liabilities (864) (1,478)
Net cash used in operating activities (37,503) (38,710)
Cash flows from investing activities:    
Purchase of property and equipment (7,732) (10,715)
Purchase of marketable securities (18,793) 0
Proceeds from maturities of marketable securities 4,750 0
Net cash used in investing activities (21,775) (10,715)
Cash flows from financing activities:    
Payment of debt issuance costs 0 (300)
Proceeds from issuance of common stock upon exercise of stock options 833 9,674
Proceeds from issuance of common stock under employee stock purchase plan 719 3,644
Net cash provided by financing activities 1,552 13,018
Net decrease in cash and cash equivalents and restricted cash (57,726) (36,407)
Cash and cash equivalents and restricted cash at beginning of period 178,366 233,678
Cash and cash equivalents and restricted cash at end of period $ 120,640 $ 197,271