XML 16 R5.htm IDEA: XBRL DOCUMENT v3.5.0.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2016
Sep. 30, 2015
Cash flows from operating activities    
Net income (loss) $ (23,745) $ 8,311
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:    
Depreciation expense 5,634 1,671
Share-based compensation 9,126 5,631
Changes in operating assets and liabilities:    
Accounts receivable (1,784) 191
Prepaid expenses 495 2,227
Other assets (599) 300
Accounts payable (133) 872
Accrued expenses 3,895 1,190
Lease exit liability (2,473) (2,833)
Deferred revenue (4,920) (11,668)
Deferred rent (846) 4,602
Net cash provided by (used in) operating activities (15,350) 10,494
Cash flows from investing activities    
Purchases of marketable securities (269,697) 0
Proceeds from sale and maturities of marketable securities 207,733 0
Purchases of property and equipment (10,319) (6,417)
Net cash used in investing activities (72,283) (6,417)
Cash flows from financing activities    
Proceeds from issuance of common stock, net of offering costs 0 203,467
Proceeds from stock option exercises 1,362 632
Net cash provided by financing activities 1,362 204,099
Net change in cash and cash equivalents (86,271) 208,176
Cash and cash equivalents at beginning of period 196,172 157,591
Cash and cash equivalents at end of period $ 109,901 $ 365,767