XML 18 R7.htm IDEA: XBRL DOCUMENT v3.21.2
Unaudited Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Cash flows from operating activities:    
Net loss $ (91,918) $ (74,978)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:    
Depreciation and amortization 8,271 7,319
Stock-based compensation 71,669 49,184
Amortization of deferred commissions 11,511 9,552
Noncash operating lease costs 6,201 7,226
Amortization of debt discount and issuance costs 5,124 2,427
Changes in assets and liabilities:    
Trade receivables 22,847 14,939
Prepaid expenses and other current assets 568 (1,862)
Deferred commissions (13,652) (13,172)
Other long-term assets 819 (250)
Trade payables 2,596 (379)
Accrued expenses and other short-term liabilities (5,057) (1,267)
Deferred revenues (13,241) (16,943)
Other long-term liabilities 1,102 4,708
Net cash provided by (used in) operating activities 6,840 (13,496)
Cash flows from investing activities:    
Proceeds from sales and maturities of marketable securities 26,106 41,482
Investment in marketable securities 0 (34,063)
Proceeds from short-term and long-term deposits 80,236 35,025
Investment in short-term and long-term deposits (50,000) (85,000)
Purchases of property and equipment (4,120) (7,001)
Net cash provided by (used in) investing activities 52,222 (49,557)
Cash flows from financing activities:    
Proceeds from employee stock plans, net 9,956 9,622
Proceeds from follow-on offering, net 500,034 0
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 509,990 225,582
Increase in cash and cash equivalents 569,052 162,529
Cash and cash equivalents at beginning of period 234,092 68,929
Cash and cash equivalents at end of period 803,144 231,458
Supplemental disclosure of cash flow information:    
Cash paid for income taxes 3,646 1,308
Net lease liabilities arising from obtaining right-of-use assets $ 22,098 $ 0