XML 14 R7.htm IDEA: XBRL DOCUMENT v3.19.3
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2019
Sep. 30, 2018
Operating activities:    
Net income $ 22,188 $ 19,200
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 11,543 3,483
Write-offs and sales allowances 892 1,053
Net realized loss on short-term investments 41 0
Deferred taxes (3,352) (6,667)
Release of liabilities for unrecognized tax benefits (1,077) 0
Share-based compensation expense 7,887 11,132
Changes in operating assets and liabilities:    
Accounts receivable 11,781 9,300
Prepaid expenses and other current assets 4,513 (1,075)
Deposits and other assets 349 (956)
Accounts payable and accrued expenses (11,618) (5,816)
Accrued compensation and employee benefits (7,368) (3,901)
Deferred revenue and advance payments 23,612 (4,032)
Operating lease liabilities (6,394) 0
Other long-term liabilities (674) 1,527
Net cash provided by operating activities 52,323 23,248
Investing activities:    
Proceeds from redemption of short-term investments 589,357 348,980
Purchases of property and equipment (9,382) (4,457)
Purchases of short-term investments (320,487) (674,528)
Net cash provided by (used in) investing activities 259,488 (330,005)
Financing activities:    
Proceeds from sale of class A common stock under exercise of employee stock options 5,442 2,471
Purchases of treasury stock (48,244) 0
Payments on capital lease obligations and other financing arrangements prior to the adoption of ASU 2016-02 0 (9)
Net cash (used in) provided by financing activities (42,802) 2,462
Effect of foreign exchange rate changes on cash, cash equivalents, and restricted cash (3,926) (3,904)
Net increase (decrease) in cash, cash equivalents, and restricted cash 265,083 (308,199)
Cash, cash equivalents, and restricted cash, beginning of period 110,786 421,182
Cash, cash equivalents, and restricted cash, end of period $ 375,869 $ 112,983