XML 17 R7.htm IDEA: XBRL DOCUMENT v3.21.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2021
Mar. 31, 2020
Operating Activities:    
Net loss $ (23,159) $ (17,716)
Adjustments to reconcile net loss to net cash and cash equivalents provided by operating activities    
Depreciation and amortization 11,208 8,711
Stock-based compensation 32,423 27,463
Loss on early extinguishment of 2022 Convertible Notes 2,406  
Repayment of 2022 Convertible Notes attributable to the debt discount (9,805)  
Benefit from deferred income taxes (1,006) (257)
Amortization of debt discount and issuance costs 6,493 5,703
Amortization (accretion) of bond discount 515 (2,154)
Unrealized currency translation (49) 781
Changes in assets and liabilities    
Accounts receivable 16,475 9,780
Prepaid expenses and other assets 2,715 (15,107)
Deferred commission expense (6,305) (1,523)
Right-of-use assets 10,354 5,723
Accounts payable 4,598 1,495
Accrued expenses and other liabilities (2,429) (5,439)
Operating lease liabilities (9,272) (5,281)
Deferred revenue 27,538 10,832
Net cash and cash equivalents provided by operating activities 62,700 23,011
Investing Activities:    
Purchases of investments (362,288) (439,889)
Maturities of investments 376,918 382,875
Purchases of property and equipment (3,967) (11,098)
Acquisition of a business, net of cash acquired (16,810)  
Purchase of strategic investments (1,850)  
Equity method investment (2,308)  
Capitalization of software development costs (7,341) (4,769)
Net cash and cash equivalents used in investing activities (17,646) (72,881)
Financing Activities:    
Proceeds from settlement of Convertible Note Hedges related to the 2022 Convertible Notes 723  
Repayment of 2022 Convertible Notes attributable to the principal (35,900)  
Employee taxes paid related to the net share settlement of stock-based awards (2,964) (941)
Proceeds related to the issuance of common stock under stock plans 16,339 6,854
Repayments of finance lease obligations   (30)
Net cash and cash equivalents (used in) provided by financing activities (21,802) 5,883
Effect of exchange rate changes on cash, cash equivalents, and restricted cash (3,877) (1,814)
Net increase in cash, cash equivalents and restricted cash 19,375 (45,801)
Cash, cash equivalents and restricted cash, beginning of period 381,152 278,515
Cash, cash equivalents and restricted cash, end of period 400,527 232,714
Supplemental cash flow disclosure:    
Cash paid for income taxes 2,215 746
Right-of-use assets obtained in exchange for operating lease liabilities 1,276 6,396
Non-cash investing and financing activities:    
Capital expenditures incurred but not yet paid 626 1,204
Asset retirement obligations   $ 87
2022 Convertible Notes    
Non-cash investing and financing activities:    
Issuance of common stock for repayment of 2022 Convertible Notes $ 155,250