XML 18 R7.htm IDEA: XBRL DOCUMENT v3.21.2
Unaudited Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Cash flows from operating activities:    
Net loss $ (68,604) $ (55,753)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:    
Depreciation and amortization 5,456 4,208
Stock-based compensation 47,247 30,506
Amortization of deferred commissions 8,069 5,783
Noncash operating lease costs 4,211 4,990
Amortization of debt discount and issuance costs 3,397 780
Changes in assets and liabilities:    
Trade receivables 34,084 26,284
Prepaid expenses and other current assets 821 (970)
Deferred commissions (8,741) (7,815)
Other long-term assets 763 (208)
Trade payables 2,317 (469)
Accrued expenses and other short-term liabilities (5,716) (1,770)
Deferred revenues (12,893) (18,614)
Other long-term liabilities 734 2,244
Net cash provided by (used in) operating activities 11,145 (10,804)
Cash flows from investing activities:    
Proceeds from sales and maturities of marketable securities 14,082 27,391
Investment in marketable securities 0 (11,976)
Proceeds from short-term and long-term deposits 70,235 15,101
Investment in short-term and long-term deposits (50,000) (65,000)
Purchases of property and equipment (2,146) (4,436)
Net cash provided by (used in) investing activities 32,171 (38,920)
Cash flows from financing activities:    
Proceeds from follow-on offering, net 500,034 0
Proceeds from employee stock plans, net 3,915 4,814
Proceeds from issuance of convertible senior notes, net of issuance costs 0 245,308
Purchases of capped calls 0 (29,348)
Net cash provided by financing activities 503,949 220,774
Increase in cash and cash equivalents 547,265 171,050
Cash and cash equivalents at beginning of period 234,092 68,929
Cash and cash equivalents at end of period 781,357 239,979
Supplemental disclosure of cash flow information:    
Cash paid for income taxes 3,346 810
Net lease liabilities arising from obtaining right-of-use assets $ 7,895 $ 0