XML 21 R8.htm IDEA: XBRL DOCUMENT v3.21.1
UNAUDITED CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2021
Mar. 31, 2020
Operating activities    
Net (loss) $ (6,617) $ (25,372)
Adjustments to reconcile net (loss) to cash provided by (used in) operating activities    
Stock-based compensation 30,100 23,175
Loss on capped call transactions 19,117 18,592
Deferred income taxes (15,068) (9,231)
Amortization of deferred commissions 11,496 8,497
Amortization of debt discount and issuance costs 673 1,719
Amortization of intangible assets and depreciation 7,006 4,919
Amortization of investments 1,019 0
Foreign currency transaction loss 5,098 5,947
Other non-cash (556) 2,478
Change in operating assets and liabilities, net (30,618) (49,047)
Cash provided by (used in) operating activities 21,650 (18,323)
Investing activities    
Purchases of investments (21,051) (1,490)
Proceeds from maturities and called investments 40,867 0
Sales of investments 2,450 1,424
Payments for acquisitions, net of cash acquired (4,993) 0
Investment in property and equipment (1,784) (12,496)
Cash provided by (used in) investing activities 15,489 (12,562)
Financing activities    
Proceeds from issuance of convertible senior notes 0 600,000
Purchase of capped calls related to convertible senior notes 0 (51,900)
Payment of debt issuance costs 0 (14,527)
Proceeds from employee stock purchase plan 2,288 0
Dividend payments to stockholders (2,427) (2,388)
Common stock repurchases (34,655) (29,011)
Cash (used in) provided by financing activities (34,794) 502,174
Effect of exchange rate changes on cash and cash equivalents (1,536) (1,510)
Net increase in cash and cash equivalents 809 469,779
Cash and cash equivalents, beginning of period 171,899 68,363
Cash and cash equivalents, end of period $ 172,708 $ 538,142