XML 16 R5.htm IDEA: XBRL DOCUMENT v3.10.0.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Cash flows from operating activities    
Net loss $ (20,525) $ (4,083)
Adjustments to reconcile net loss to net cash provided by operating activities:    
Depreciation and amortization 17,194 11,929
Share-based compensation 49,379 30,504
Amortization of deferred sales commission costs 13,956 8,874
Amortization of debt discount and issuance costs 11,003  
Foreign currency remeasurement (gain) loss 657 (700)
Provision for bad debt 2,390 1,508
Deferred income taxes 15 (18)
Other 458 123
Changes in assets and liabilities:    
Accounts receivable (29,883) (11,188)
Deferred sales commission costs (31,793) (23,402)
Prepaid expenses and other current assets (6,256) (6,872)
Other assets (406) 1,419
Accounts payable (1,128) 2,168
Accrued liabilities 27,954 9,426
Deferred revenue 17,107 11,288
Other liabilities (1,020) (100)
Net cash provided by operating activities 49,102 30,876
Cash flows from investing activities    
Purchases of property and equipment (17,852) (15,886)
Capitalized internal-use software (8,117) (5,432)
Cash paid for acquisition of intangible assets (18,470)  
Restricted investment   530
Net cash used in investing activities (44,439) (20,788)
Cash flows from financing activities    
Proceeds from issuance of convertible senior notes, net of issuance costs 449,457  
Payments for capped call transactions and costs (49,910)  
Repurchase of common stock (15,000)  
Proceeds from issuance of stock in connection with stock plans 13,632 19,685
Taxes paid related to net share settlement of equity awards (5,457) (2,125)
Repayment of debt   (14,840)
Repayment of capital lease obligations (741) (181)
Net cash provided by financing activities 391,981 2,539
Effect of exchange rate changes (553) (676)
Net increase in cash, cash equivalents and restricted cash 396,091 11,951
Cash, cash equivalents and restricted cash    
Beginning of period 181,192 160,355
End of period 577,283 172,306
Supplemental disclosure of cash flow data    
Cash paid for interest 40 116
Cash paid for income taxes, net of refunds 331 188
Non-cash investing and financing activities    
Reclassification from intangible assets to prepaid and other assets 8,223  
Equipment acquired under capital lease 4,513  
Liability for potential future payments 2,001  
Equipment and capitalized internal-use software purchased and unpaid at period end $ 2,293 1,204
Glip, Inc.    
Non-cash investing and financing activities    
Issuance of common stock for business combination   $ 3,260