XML 66 R7.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Operating activities:      
Net income $ 34,355 $ 22,501 $ 18,195
Adjustments to reconcile net income to net cash provided by operating activities:      
Depreciation and amortization 16,699 3,701 15,532
Sales allowances and bad debt 124 1,912 2,269
Net realized loss on short-term investments 41 153 0
Deferred taxes (2,614) (8,274) (3,605)
Release of liabilities for unrecognized tax benefits (2,837) 0 0
Share-based compensation expense 10,209 14,636 14,267
Changes in operating assets and liabilities:      
Accounts receivable (3,672) (8,357) 15,348
Prepaid expenses and other current assets 6,415 (6,561) (4,739)
Deposits and other assets 761 (1,201) 3,029
Accounts payable and accrued expenses (7,321) 3,378 (9,093)
Accrued compensation and employee benefits (2,658) 5,116 (6,209)
Deferred revenue and advance payments 20,836 (22,126) (589)
Operating lease liabilities (8,620) 0 0
Other long-term liabilities (851) 5,749 33,917
Net cash provided by operating activities 60,867 10,627 78,322
Investing activities:      
Proceeds from redemption of short-term investments 684,356 491,800 390,720
Purchases of property and equipment (10,182) (6,846) (3,982)
Purchases of short-term investments (320,487) (694,018) (456,468)
Net cash provided by (used in) investing activities 353,687 (209,064) (69,730)
Financing activities:      
Proceeds from sale of class A common stock under exercise of employee stock options 6,569 2,471 1,677
Purchases of treasury stock (72,719) (110,977) 0
Payments on capital lease obligations and other financing arrangements prior to the adoption of ASU 2016-02 0 (9) (21)
Net cash (used in) provided by financing activities (66,150) (108,515) 1,656
Effect of foreign exchange rate changes on cash, cash equivalents, and restricted cash (1,374) (3,444) 8,222
Net increase (decrease) in cash, cash equivalents, and restricted cash 347,030 (310,396) 18,470
Cash, cash equivalents, and restricted cash, beginning of year 110,786 421,182 402,712
Cash, cash equivalents, and restricted cash, end of year 457,816 110,786 421,182
Supplemental disclosure of cash flow information:      
Cash paid during the year for income taxes, net of tax refunds $ 5,911 $ 13,214 $ 29,279