XML 19 R6.htm IDEA: XBRL DOCUMENT v3.21.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Cash flows from operating activities    
Net loss $ (91,207) $ (91,609)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization expense 5,510 6,105
Amortization of premiums and discounts on marketable securities 808 (401)
Stock-based compensation 11,356 9,587
Changes in operating assets and liabilities:    
Accounts receivable (22,166) (6,461)
Inventory (6,476) 0
Prepaid expenses and other current assets (974) 3,093
Other assets 4,404 995
Accounts payable 1,668 (1,476)
Accrued expenses and other current liabilities 5,365 3,337
Lease liabilities (1,673) (1,534)
Deferred revenue 18,659 (3,767)
Other non current liabilities 0 1,443
Net cash used in operating activities (74,726) (80,688)
Cash flows from investing activities    
Purchases of marketable securities (117,546) (72,199)
Proceeds from sale and maturities of marketable securities 99,800 125,617
Purchases of property, equipment and software (2,693) (1,847)
Net cash provided by (used in) investing activities (20,439) 51,571
Cash flows from financing activities    
Proceeds from issuance of common stock, net of offering costs 98,200 96,512
Proceeds from stock option exercises and ESPP purchases 4,910 2,665
Net cash provided by financing activities 103,004 99,177
Net change in cash and cash equivalents 7,839 70,060
Cash and cash equivalents at beginning of period 181,131 126,472
Cash and cash equivalents at end of period 188,970 196,532
Supplemental Cash Flow Information [Abstract]    
Property, equipment and software included in accounts payable or accruals 118 0
Retirement Of Treasury Stock $ (106) $ 0