XML 19 R6.htm IDEA: XBRL DOCUMENT v3.23.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Operating activities:    
Net loss $ (113,161) $ (106,871)
Adjustments to reconcile net loss to net cash used in operating activities:    
Stock-based compensation expense 87,797 62,360
Depreciation and amortization 16,423 12,691
Amortization of right-of-use assets 4,070 3,728
Lease impairment charges 2,785 0
Realized loss on marketable securities 1,715 0
Other 613 460
Changes in operating assets and liabilities:    
Accounts receivable 16,526 9,025
Inventory (2,311) (11,101)
Prepaid expenses and other current assets (2,123) (5,348)
Other noncurrent assets (18,073) 115
Accounts payable 1,314 10,262
Accrued compensation and other related benefits (10,313) (8,007)
Deferred revenue 2,885 1,667
Accrued expenses and other current liabilities 494 (4,922)
Operating lease liability (4,540) (2,181)
Other noncurrent liabilities 248 357
Net cash used in operating activities (15,651) (37,765)
Investing activities:    
Purchases of property and equipment (29,915) (55,355)
Purchase of intangible assets (723) 0
Purchase of marketable securities 0 (271,547)
Proceeds from sales of marketable securities 94,947 32,693
Proceeds from maturities of marketable securities 51,185 9,124
Net cash provided by (used in) investing activities 115,494 (285,085)
Financing activities:    
Payments on financing arrangement (5,814) (5,409)
Issuance of common stock from exercise of stock options and employee stock purchase plan purchases 9,496 14,186
Net cash provided by financing activities 3,682 8,777
Effect of exchange rate changes on cash, cash equivalents, and restricted cash (25) (210)
Net increase (decrease) in cash, cash equivalents, and restricted cash 103,500 (314,283)
Cash, cash equivalents, and restricted cash at beginning of period 227,353 596,073
Cash, cash equivalents, and restricted cash at end of period 330,853 281,790
Supplemental disclosures of cash flow information:    
Cash paid for interest 436 841
Cash paid for taxes 3,852 3,319
Noncash investing and financing activities:    
Purchases of property and equipment included in accounts payable and accrued expenses and other current liabilities 9,317 26,679
Right-of-use assets obtained in exchange for new operating lease liabilities 6,893 16,562
Contingent consideration payable from business acquisition $ 0 $ 1,500