XML 18 R7.htm IDEA: XBRL DOCUMENT v3.20.2
Unaudited Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Cash flows from operating activities:    
Net loss $ (55,753) $ (47,127)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:    
Depreciation 4,208 2,816
Stock-based compensation 30,506 23,757
Amortization of deferred commissions 5,783 7,136
Amortization of operating lease right-of-use asset 4,990 2,837
Amortization of debt discount and issuance costs 780 0
Capital loss from sale of fixed assets 0 24
Changes in assets and liabilities:    
Trade receivables 26,284 37,660
Prepaid expenses and other current assets (970) (1,904)
Deferred commissions (7,815) (8,543)
Other long-term assets (208) 7
Trade payables (469) (321)
Accrued expenses and other short-term liabilities (1,770) (4,571)
Deferred revenues (18,614) (9,019)
Other long-term liabilities 2,244 201
Net cash provided by (used in) operating activities (10,804) 2,953
Cash flows from investing activities:    
Decrease (increase) in short-term deposits (49,927) 29,154
Decrease in marketable securities 15,415 3,925
Decrease (increase) in long-term deposits 28 (15)
Proceeds from sale of property and equipment 0 10
Purchases of property and equipment (4,436) (9,878)
Net cash provided by (used in) investing activities (38,920) 23,196
Cash flows from financing activities:    
Proceeds from issuance of convertible senior notes, net of issuance costs 245,308 0
Purchases of capped calls (29,348) 0
Proceeds (withholdings) from employee stock plans, net 4,814  
Proceeds (withholdings) from employee stock plans, net   (5,697)
Net cash provided by (used in) financing activities 220,774 (5,697)
Increase in cash and cash equivalents 171,050 20,452
Cash and cash equivalents at beginning of period 68,929 48,707
Cash and cash equivalents at end of period 239,979 69,159
Supplemental disclosure of cash flow information:    
Cash paid for income taxes $ 810 $ 3,146