XML 20 R8.htm IDEA: XBRL DOCUMENT v3.23.2
UNAUDITED CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Jun. 30, 2023
Jun. 30, 2022
Operating activities        
Net (loss) $ (46,804) $ (286,296) $ (67,578) $ (286,675)
Adjustments to reconcile net (loss) to cash provided by (used in) operating activities        
Stock-based compensation 36,227 31,300 78,784 59,527
Deferred income taxes     (136) 169,105
(Gain) loss on capped call transactions 1,361 18,945 (1,845) 49,505
Amortization of deferred commissions 14,750 10,934 29,027 28,155
Lease expense     8,186 7,832
Amortization of intangible assets and depreciation     9,553 8,175
Foreign currency transaction loss (gain) 3,290 (1,713) 5,965 (4,589)
Other non-cash     (10,163) (3,479)
Change in operating assets and liabilities, net     61,959 (32,625)
Cash provided by (used in) operating activities     113,752 (5,069)
Investing activities        
Purchases of investments     (69,662) (38,489)
Proceeds from maturities and called investments     88,849 34,912
Sales of investments     10,725 14,839
Payments for acquisitions, net of cash acquired     0 (922)
Investment in property and equipment     (13,933) (11,863)
Cash provided by (used in) investing activities     15,979 (1,523)
Financing activities        
Repurchases of convertible senior notes     (88,989) 0
Proceeds from settlement of capped calls transactions 100   341 0
Dividend payments to stockholders     (4,962) (4,908)
Proceeds from employee stock purchase plan     4,124 4,803
Proceeds from stock option exercises     3,920 0
Common stock repurchases     (1,422) (41,086)
Cash (used in) financing activities     (86,988) (41,191)
Effect of exchange rate changes on cash, cash equivalents, and restricted cash     1,010 (2,907)
Net increase (decrease) in cash, cash equivalents, and restricted cash     43,753 (50,690)
Cash, cash equivalents, and restricted cash, beginning of period     145,054 159,965
Cash, cash equivalents, and restricted cash, end of period 188,807 109,275 188,807 109,275
Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents [Abstract]        
Cash and cash equivalents 186,874 109,275 186,874 109,275
Restricted cash included in other long-term assets 1,933 0 1,933 0
Total cash, cash equivalents, and restricted cash $ 188,807 $ 109,275 $ 188,807 $ 109,275