XML 24 R7.htm IDEA: XBRL DOCUMENT v3.22.0.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Operating activities      
Net loss $ (202,115) $ (129,739) $ (151,811)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:      
Depreciation and amortization 11,258 11,957 12,306
Amortization of premiums and discounts on marketable securities 1,607 (260) (1,461)
Share-based compensation 23,126 20,676 19,571
Other non-cash items 2,035 0 0
Changes in operating assets and liabilities:      
Accounts receivable 12,696 (10,337) 16,839
Inventory (6,424) 0 0
Prepaid expenses and other current assets (4,188) (5,697) (4,878)
Other non current assets 5,915 581 (1,578)
Accounts payable 7,125 3,723 787
Accrued expenses and other current liabilities (607) 6,994 (6,057)
Lease liabilities (3,780) (1,324) 2,881
Deferred revenue 9,264 (8,472) (20,869)
Other non current liabilities 258 0 0
Net Cash Provided by (Used in) Operating Activities, Total (143,830) (111,898) (134,270)
Cash flows from investing activities      
Purchases of marketable securities (231,208) (223,745) (264,399)
Proceeds from sales and maturities of marketable securities 200,800 221,866 189,330
Purchases of property, equipment and software (6,201) (5,906) (4,289)
Net Cash Provided by (Used in) Investing Activities, Total (36,609) (7,785) (79,358)
Cash flows from financing activities      
Proceeds from issuance of common stock, net of offering costs 117,818 170,456 118,657
Proceeds from stock option exercises and ESPP purchases 4,959 3,886 1,315
Net Cash Provided by (Used in) Financing Activities, Total 122,777 174,342 119,972
Net change in cash and cash equivalents (57,662) 54,659 (93,656)
Cash and cash equivalents at beginning of period 181,131 126,472 220,128
Cash and cash equivalents at end of period 123,469 181,131 126,472
Non-cash operating and investing activities      
Right-of-use assets modified in exchange for operating lease obligation 0 0 6,408
Capital Expenditures Incurred but Not yet Paid $ 508 $ 66 $ 66