XML 18 R7.htm IDEA: XBRL DOCUMENT v3.19.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2019
Mar. 31, 2018
Operating activities:    
Net (loss) income $ (7,906) $ 1,673
Adjustments to reconcile net (loss) income to net cash provided by operating activities:    
Depreciation and amortization 3,664 3,298
Bad debt expense 827 165
Net realized loss on short-term investments 41 0
Deferred taxes (1,694) (2,662)
Share-based compensation expense 3,017 4,743
Changes in operating assets and liabilities:    
Accounts receivable 10,266 422
Prepaid expenses and other current assets (3,070) (3,783)
Deposits and other assets (134) 228
Accounts payable and accrued expenses (3,108) (6,016)
Accrued compensation and employee benefits (12,195) (8,085)
Deferred revenue and advance payments 38,502 19,570
Operating lease liabilities (2,074) 0
Other long-term liabilities 320 9,164
Net cash provided by operating activities 26,456 18,717
Investing activities:    
Proceeds from redemption of short-term investments 314,403 195,820
Purchases of property and equipment (6,011) (1,294)
Purchases of short-term investments (138,099) (483,440)
Net cash provided by (used in) investing activities 170,293 (288,914)
Financing activities:    
Proceeds from sale of class A common stock under exercise of employee stock options 1,507 0
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 (7)
Net cash used in financing activities (46,737) (7)
Effect of foreign exchange rate changes on cash, cash equivalents, and restricted cash (1,133) 2,202
Net increase (decrease) in cash, cash equivalents, and restricted cash 148,879 (268,002)
Cash, cash equivalents and restricted cash, beginning of period 110,786 421,182
Cash, cash equivalents and restricted cash, end of period $ 259,665 $ 153,180