XML 17 R6.htm IDEA: XBRL DOCUMENT v3.20.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Cash flows from operating activities    
Net loss $ (91,609) $ (76,784)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation expense 6,105 6,181
Amortization of premiums and discounts on marketable securities (401) (698)
Stock-based compensation 9,587 8,683
Changes in operating assets and liabilities:    
Accounts receivable (6,461) 23,971
Prepaid expenses and other current assets 3,093 (3,209)
Other assets 995 (21,091)
Accounts payable (1,476) (2,598)
Accrued expenses 3,337 (2,663)
Lease liabilities (1,534) 231
Deferred revenue (3,767) (10,861)
Other liabilities 1,443 0
Net cash used in operating activities (80,688) (78,838)
Cash flows from investing activities    
Purchases of marketable securities (72,199) (142,305)
Proceeds from sale and maturities of marketable securities 125,617 63,955
Purchases of property and equipment (1,847) (2,262)
Net cash provided by (used in) investing activities 51,571 (80,612)
Cash flows from financing activities    
Proceeds from issuance of common stock, net of offering costs 96,512 118,657
Proceeds from stock option exercises and ESPP purchases 2,665 981
Net cash provided by financing activities 99,177 119,638
Net change in cash and cash equivalents 70,060 (39,812)
Cash and cash equivalents at beginning of period 126,472 220,128
Cash and cash equivalents at end of period 196,532 180,316
Supplemental Cash Flow Information [Abstract]    
Right-of-use assets modified in exchange for operating lease obligations $ 0 $ 1,988