XML 42 R7.htm IDEA: XBRL DOCUMENT v3.19.3
Unaudited Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2019
Sep. 30, 2018
Cash flows from operating activities:    
Net loss $ (64,114) $ (35,046)
Adjustments to reconcile net loss to net cash provided by operating activities:    
Depreciation 4,320 2,480
Stock-based compensation 34,779 24,174
Amortization of deferred commissions 10,530 9,718
Amortization of operating lease right-of-use asset 7,009 0
Capital loss (gain) from sale of fixed assets 24 (27)
Changes in assets and liabilities:    
Trade receivables 31,357 22,658
Prepaid expenses and other current assets (2,239) (927)
Deferred commissions (13,401) (9,864)
Other long term assets 50 5
Trade payables 379 2,510
Accrued expenses and other short-term liabilities (7,675) 1,922
Deferred revenues (11,749) (1,183)
Other long term liabilities 54 (155)
Net cash provided by (used in) operating activities (10,676) 16,265
Cash flows from investing activities:    
Decrease (increase) in short-term deposits 33,474 (10,213)
Increase in marketable securities (1,627) (120)
Increase in long-term deposits (16) (319)
Proceeds from sale of property and equipment 10 27
Purchase of property and equipment (14,219) (3,177)
Net cash provided by (used in) investing activities 17,622 (13,802)
Cash flows from financing activities:    
Proceeds (withholdings) from employee stock plans, net (2,669)  
Proceeds (withholdings) from employee stock plans, net   8,169
Net cash provided (used in) by financing activities (2,669) 8,169
Increase in cash, cash equivalents and restricted cash 4,277 10,632
Cash, cash equivalents and restricted cash at beginning of period 48,707 57,236
Cash, cash equivalents and restricted cash at end of period 52,984 67,868
Supplemental disclosure of cash flow information:    
Cash paid for income taxes 3,566 $ 561
Net lease liabilities arising from obtaining right-of-use assets $ 8,908