XML 17 R6.htm IDEA: XBRL DOCUMENT v3.22.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Operating activities:    
Net loss $ (283,746) $ (179,879)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 7,631 5,262
Premium amortization and discount accretion on investment securities 2,960 3,790
Stock-based compensation 76,060 58,335
Non-cash lease expense 6,652 5,357
Amortization of debt discount and issuance cost 625 610
Inventory reserve adjustments 181 612
Other non-cash benefits 39 117
Provision for credit losses 1,501 63
Gain (loss) on investments 203 (35)
Changes in operating assets and liabilities:    
Accounts receivable (87,738) (21,628)
Inventory (3,737) (8,991)
Prepaid expenses and other current assets 4,727 (2,497)
Accounts payable 2,492 12,313
Accrued compensation (7,982) 471
Operating lease liabilities (5,528) (4,992)
Other accrued liabilities 29,525 24,374
Deferred revenue 8,009 (38,721)
Cash used in operating activities (248,126) (145,439)
Investing activities:    
Purchases of investments (79,956) (71,054)
Proceeds from sale of investments 191,939 31,144
Proceeds from maturity of investments 153,500 205,510
Purchases of property and equipment, net (23,661) (18,891)
Cash provided by investing activities 241,822 146,709
Financing activities:    
Proceeds from exercise of stock options 4,578 6,829
Proceeds from issuance of common stock under employee stock purchase plan 8,496 6,085
Cash provided by financing activities 13,074 12,914
Net increase in cash, cash equivalents and restricted cash 6,770 14,184
Cash, cash equivalents and restricted cash, beginning of period 84,614 48,855
Cash, cash equivalents and restricted cash, end of period 91,384 63,039
Supplemental disclosure of cash flow information:    
Cash paid for interest 3,612 3,538
Non-cash investing and financing activities:    
Purchases of property and equipment in accounts payable and accruals $ 2,035 $ 4,688