XML 16 R5.htm IDEA: XBRL DOCUMENT v3.10.0.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Cash flows from operating activities    
Net loss $ (92,780) $ (78,310)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization expense 2,540 3,981
Stock-based compensation 7,595 7,063
Changes in operating assets and liabilities:    
Accounts receivable (4,194) 773
Prepaid expenses (22) (525)
Other assets (5,511) 65
Accounts payable and other liabilities (684) (2,026)
Accrued expenses 8,215 6,185
Lease exit liability (298) (771)
Deferred revenue (3,371) (1,866)
Deferred rent (516) (655)
Net cash used in operating activities (89,026) (66,086)
Cash flows from investing activities    
Purchases of marketable securities (86,491) (56,937)
Proceeds from sale and maturities of marketable securities 118,090 130,505
Purchases of property and equipment (20,023) (8,795)
Net cash provided by investing activities 11,576 64,773
Cash flows from financing activities    
Proceeds from issuance of common stock, net of offering costs 103,259 33,175
Proceeds from stock option exercises and ESPP purchases 1,125 667
Net cash provided by financing activities 104,384 33,842
Net change in cash and cash equivalents 26,934 32,529
Cash and cash equivalents at beginning of period 211,727 84,098
Cash and cash equivalents at end of period 238,661 116,627
Non-cash operating and investing activities:    
Fair value of warrants received $ 6,130 $ 0