XML 22 R7.htm IDEA: XBRL DOCUMENT v3.8.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Operating Activities:    
Net loss $ (15,448) $ (8,075)
Adjustments to reconcile net loss to net cash and cash equivalents provided by operating activities    
Depreciation and amortization 5,110 3,329
Stock-based compensation 16,046 9,303
Benefit for deferred income taxes   (27)
Amortization of debt discount and issuance costs 4,908  
(Accretion) amortization of bond discount premium (1,164) 77
Noncash rent expense 794 1,667
Unrealized currency translation 36 (46)
Changes in assets and liabilities    
Accounts receivable 6,863 4,176
Prepaid expenses and other assets 1,880 1,061
Deferred commission expense (5,068) (464)
Accounts payable 166 (1,250)
Accrued expenses 1,674 922
Deferred rent (48) (34)
Deferred revenue 10,973 8,453
Net cash and cash equivalents provided by operating activities 26,722 19,092
Investing Activities:    
Purchases of investments (210,886) (16,367)
Maturities of investments 256,250 15,860
Purchases of property and equipment (6,239) (5,835)
Capitalization of software development costs (2,616) (1,610)
Purchases of strategic investments (250)  
Net cash and cash equivalents provided by (used in) investing activities 36,259 (7,952)
Financing Activities:    
Employee taxes paid related to the net share settlement of stock-based awards (2,344) (1,153)
Proceeds related to the issuance of common stock under stock plans 6,113 4,340
Repayments of capital lease obligations (212) (240)
Net cash and cash equivalents provided by financing activities 3,557 2,947
Effect of exchange rate changes on cash, cash equivalents, and restricted cash 677 454
Net increase in cash, cash equivalents, and restricted cash 67,215 14,541
Cash, cash equivalents and restricted cash, beginning of period 92,784 60,185
Cash, cash equivalents and restricted cash, end of period 159,999 74,726
Supplemental cash flow disclosure:    
Cash paid for interest 15 192
Cash paid for income taxes 45 37
Non-cash investing and financing activities:    
Property and equipment acquired under capital lease   247
Capital expenditures incurred but not yet paid 1,382 $ 1,525
Asset retirement obligations $ 101