Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2016
Sep. 30, 2015
Operating activities    
Net loss $ (123,361) $ (42,379)
Adjustments to reconcile net loss to net cash provided by operating activities    
Depreciation and amortization expense 25,091 16,221
Stock-based compensation expense 137,954 82,277
Excess tax benefit from stock-based compensation (827) (4,688)
Deferred income taxes 282 (3,132)
Changes in operating assets and liabilities    
Accounts receivable, net (5,150) (16,509)
Prepaid expenses, deposits and other assets (10,355) (13,166)
Income taxes receivable 72 21
Deferred revenue 49,868 37,807
Accounts payable and accrued liabilities 32,043 26,612
Income taxes payable 517 157
Net cash provided by operating activities 106,134 83,221
Investing activities    
Purchases of property and equipment (42,334) (32,792)
Business combinations (16,399) (1,000)
Net cash used in investing activities (58,733) (33,792)
Financing activities    
Proceeds from issuance of common stock 21,203 16,110
Excess tax benefit from stock-based compensation 827 4,688
Net cash provided by financing activities 22,030 20,798
Effect of exchange rate changes on cash and cash equivalents (738) (649)
Net increase in cash and cash equivalents 68,693 69,578
Cash and cash equivalents    
Beginning of period 795,900 680,613
End of period 864,593 750,191
Non-cash activities    
Accrued purchases of property and equipment 10,928 8,937
Asset retirement obligations recognized, net $ 585 $ 447