XML 16 R2.htm IDEA: XBRL DOCUMENT v3.19.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2019
Mar. 31, 2018
Cash flows from operating activities    
Net loss $ (310,407) $ (385,785)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 23,319 21,553
Stock-based compensation 162,556 133,258
Deferred income taxes (266) 236
Other (1,917) (3,392)
Change in operating assets and liabilities, net of effect of acquisitions:    
Accounts receivable, net of allowance 71,870 48,697
Prepaid expenses and other current assets 271 (10,439)
Operating lease right-of-use asset 9,812 0
Other assets (368) 4,204
Accounts payable 3,090 (37,069)
Accrued expenses and other current liabilities (14,323) (10,149)
Operating lease liabilities (10,470) 0
Other liabilities 655 6,905
Net cash used in operating activities (66,178) (231,981)
Cash flows from investing activities    
Purchases of property and equipment (11,814) (36,315)
Sales of property and equipment 29 0
Purchases of intangible assets 0 (60)
Non-marketable investments (2,250) 0
Purchases of marketable securities (525,520) (477,213)
Sales of marketable securities 0 45,007
Maturities of marketable securities 458,627 787,828
Net cash provided by (used in) investing activities (80,928) 319,247
Cash flows from financing activities    
Proceeds from the exercise of stock options 5,596 45,809
Stock repurchases from employees for tax withholdings 0 (551)
Net cash provided by financing activities 5,596 45,258
Change in cash, cash equivalents, and restricted cash (141,510) 132,524
Cash, cash equivalents, and restricted cash, beginning of period 388,974 337,007
Cash, cash equivalents, and restricted cash, end of period 247,464 469,531
Supplemental disclosures    
Cash paid for income taxes $ 320 $ 991