XML 30 R6.htm IDEA: XBRL DOCUMENT v3.20.4
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Operating activities      
Net loss $ (129,739) $ (151,811) $ (171,453)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:      
Depreciation and amortization expense 11,957 12,306 9,160
Amortization of premiums and discounts on marketable securities (260) (1,461) (881)
Share-based compensation 20,676 19,571 16,520
Changes in operating assets and liabilities:      
Accounts receivable (10,337) 16,839 (15,941)
Prepaid expenses (5,697) (4,878) (3,255)
Other assets 581 (1,578) (4,580)
Accounts payable 3,723 787 1,554
Accrued expenses 6,994 (6,057) 3,208
Lease liabilities (1,324) 2,881 0
Deferred revenue (8,472) (20,869) 13,405
Deferred rent 0 0 (971)
Net cash provided by (used in) operating activities (111,898) (134,270) (153,234)
Cash flows from investing activities      
Purchases of marketable securities (223,745) (264,399) (132,750)
Proceeds from sales and maturities of marketable securities 221,866 189,330 214,348
Purchases of property, equipment and software (5,906) (4,289) (24,954)
Net cash used in investing activities (7,785) (79,358) 56,644
Cash flows from financing activities      
Proceeds from issuance of common stock, net of offering costs 170,456 118,657 103,259
Proceeds from stock option exercises and ESPP purchases 5,898 1,315 1,992
Purchase of treasury stock (2,012) 0 (260)
Net cash provided by financing activities 174,342 119,972 104,991
Net change in cash and cash equivalents 54,659 (93,656) 8,401
Cash and cash equivalents at beginning of period 126,472 220,128 211,727
Cash and cash equivalents at end of period 181,131 126,472 220,128
Non-cash operating and investing activities:      
Right-of-use assets modified in exchange for operating lease obligation 0 6,408 0
Fair value of warrants received $ 0 $ 0 $ 6,130