XML 19 R9.htm IDEA: XBRL DOCUMENT v3.8.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2017
Sep. 30, 2016
Operating Activities:    
Net loss $ (28,179) $ (31,733)
Adjustments to reconcile net loss to net cash and cash equivalents provided by operating activities    
Depreciation and amortization 11,123 7,992
Stock-based compensation 34,419 23,401
Benefit for deferred income taxes (9,125) (165)
Amortization of debt discount and issuance costs 7,482  
(Accretion) amortization of bond discount premium (747) 547
Noncash rent expense 4,343 2,693
Unrealized currency translation (348) (146)
Changes in assets and liabilities, net of acquisition    
Accounts receivable (8,510) (5,140)
Prepaid expenses and other assets (5,363) (3,386)
Deferred commission expense (2,011) (80)
Accounts payable 1,556 733
Accrued expenses 6,838 3,737
Deferred rent 3,581 (75)
Deferred revenue 20,561 18,715
Net cash and cash equivalents provided by operating activities 35,620 17,093
Investing Activities:    
Purchases of investments (572,636) (44,323)
Maturities of investments 313,060 43,388
Purchases of property and equipment (15,089) (13,350)
Capitalization of software development costs (5,306) (4,173)
Acquisition of a business and purchase of technology (9,415)  
Purchases of strategic investments (2,800)  
Restricted cash (4,587)  
Net cash and cash equivalents used in investing activities (296,773) (18,458)
Financing Activities:    
Employee taxes paid related to the net share settlement of stock-based awards (3,154) (1,820)
Proceeds related to the issuance of common stock under stock plans 10,409 9,145
Repayments of capital lease obligations (787) (528)
Proceeds of the issuance of convertible notes, net of issuance costs paid of $10,767 389,233  
Purchase of note hedge related to convertible notes (78,920)  
Proceeds from the issuance of warrants related to convertible notes, net of issuance costs paid of $200 58,880  
Net cash and cash equivalents provided by financing activities 375,661 6,797
Effect of exchange rate changes on cash and cash equivalents 2,533 427
Net increase in cash and cash equivalents 117,041 5,859
Cash and cash equivalents, beginning of period 59,702 55,580
Cash and cash equivalents, end of period 176,743 61,439
Supplemental cash flow disclosure:    
Cash paid for interest 201 166
Cash paid for income taxes 436 623
Non-cash investing and financing activities:    
Property and equipment acquired under capital lease 1,053 720
Capital expenditures incurred but not yet paid 836 1,259
Asset retirement obligations $ 403 $ 626