v3.8.0.1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Cash flows from operating activities    
Net loss $ (12,156) $ (20,283)
Adjustments to reconcile net loss to net cash (used in) provided by operating activities    
Depreciation and amortization 15,524 9,299
Stock-based compensation 31,072 22,374
Change in fair value of contingent consideration (79) (1,446)
Amortization of debt issuance costs and accretion of debt discount 3,053 5,404
Amortization of deferred commissions 8,374 6,609
Deferred income taxes (14,772) (2,268)
Other (213) 114
Changes in assets and liabilities:    
Accounts receivable (1,436) 10,210
Inventory 127 126
Deferred product costs (106) 91
Deferred commissions (9,214) (6,749)
Prepaid expenses (3,896) (848)
Other current assets 1,652 344
Long-term assets 114 (3,900)
Accounts payable 5,011 (1,585)
Accrued liabilities (11,751) 156
Deferred rent 114 292
Deferred revenue 23,504 22,529
Net cash provided by operating activities 34,922 40,469
Cash flows from investing activities    
Proceeds from maturities of short-term investments 31,500 32,922
Proceeds from sales for short-term investments 11,931 0
Purchase of short-term investments (13,761) (12,655)
Purchase of property and equipment (8,539) (12,251)
Receipt from escrow account 555 2,566
Acquisition of business, net of cash acquired (223,786) 0
Net cash (used in) provided by investing activities (202,100) 10,582
Cash flows from financing activities    
Proceeds from issuance of common stock 2,678 2,325
Withholding taxes related to restricted stock net share settlement (20,043) (14,510)
Repayments of equipment loans and capital lease obligations (12) (8)
Contingent consideration payment (555) (2,566)
Net cash used in financing activities (17,932) (14,759)
Effect of exchange rate changes on cash, cash equivalents and restricted cash 374 146
Net (decrease) increase in cash, cash equivalents and restricted cash (184,736) 36,438
Cash, cash equivalents and restricted cash    
Beginning of period 286,660 345,537
End of period 101,924 381,975
Supplemental disclosure of noncash investing and financing information    
Unpaid purchases of property and equipment and asset retirement obligations 5,432 4,652
Liability awards converted to equity 8,870 8,307
Reconciliation of cash, cash equivalents and restricted cash as shown in the consolidated statement of cash flows    
Cash and cash equivalents 101,411 381,862
Restricted cash included in prepaid expenses and other current assets 241 81
Restricted cash included in other non-current assets 272 32
End of period $ 101,924 $ 381,975