XML 18 R7.htm IDEA: XBRL DOCUMENT v3.19.2
Unaudited Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2019
Jun. 30, 2018
Cash flows from operating activities:    
Net loss $ (47,127) $ (27,729)
Adjustments to reconcile net loss to net cash provided by operating activities:    
Depreciation 2,816 1,626
Stock-based compensation 23,757 15,775
Amortization of deferred commissions 7,136 6,441
Amortization of operating lease right-of-use asset 2,837 0
Capital loss (gain) from disposal of fixed assets 24 (2)
Changes in assets and liabilities:    
Trade receivables 37,660 34,203
Prepaid expenses and other current assets (1,904) (3,566)
Deferred commissions (8,543) (5,824)
Other long term assets 7 16
Trade payables (321) 1,264
Accrued expenses and other short term liabilities (4,571) 217
Deferred revenues (9,019) (2,164)
Other long term liabilities 201 126
Net cash provided by operating activities 2,953 20,383
Cash flows from investing activities:    
Decrease (increase) in short-term deposits 29,154 (5,088)
Decrease (increase) in marketable securities 3,925 (78)
Increase in long-term deposits (15) (318)
Proceeds from sale of property and equipment 10 2
Purchase of property and equipment (9,878) (2,072)
Net cash provided by (used in) investing activities 23,196 (7,554)
Cash flows from financing activities:    
Proceeds (withholdings) from employee stock plans, net   4,091
Proceeds (withholdings) from employee stock plans, net (5,697)  
Net cash provided (used in) by financing activities (5,697) 4,091
Increase in cash, cash equivalents and restricted cash 20,452 16,920
Cash, cash equivalents and restricted cash at beginning of period 48,707 57,236
Cash, cash equivalents and restricted cash at end of period 69,159 74,156
Supplemental disclosure of cash flow information:    
Cash paid for income taxes 3,146 $ 486
Net lease liabilities arising from obtaining right-of-use assets $ 6,224