XML 18 R7.htm IDEA: XBRL DOCUMENT v3.20.2
Unaudited Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2020
Sep. 30, 2019
Cash flows from operating activities:    
Net loss $ (74,978) $ (64,114)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation 7,319 4,320
Stock-based compensation 49,184 34,779
Amortization of deferred commissions 9,552 10,530
Amortization of operating lease right-of-use asset 7,226 7,009
Amortization of debt discount and issuance costs 2,427 0
Capital loss from sale of fixed assets 0 24
Changes in assets and liabilities:    
Trade receivables 14,939 31,357
Prepaid expenses and other current assets (1,862) (2,239)
Deferred commissions (13,172) (13,401)
Other long-term assets (250) 50
Trade payables (379) 379
Accrued expenses and other short-term liabilities (1,267) (7,675)
Deferred revenues (16,943) (11,749)
Other long-term liabilities 4,708 54
Net cash used in operating activities (13,496) (10,676)
Cash flows from investing activities:    
Decrease (increase) in short-term deposits (49,998) 33,474
Decrease (increase) in marketable securities 7,419 (1,627)
Decrease (increase) in long-term deposits 23 (16)
Proceeds from sale of property and equipment 0 10
Purchases of property and equipment (7,001) (14,219)
Net cash provided by (used in) investing activities (49,557) 17,622
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 9,622  
Proceeds (withholdings) from employee stock plans, net   (2,669)
Net cash provided by (used in) financing activities 225,582 (2,669)
Increase in cash and cash equivalents 162,529 4,277
Cash and cash equivalents at beginning of period 68,929 48,707
Cash and cash equivalents at end of period 231,458 52,984
Supplemental disclosure of cash flow information:    
Cash paid for income taxes $ 1,308 $ 3,566