XML 20 R8.htm IDEA: XBRL DOCUMENT v3.21.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2021
Mar. 31, 2020
Cash flows from operating activities:    
Net income (loss) $ 53,535 $ (720,642)
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 13,838 13,098
Stock-based compensation 47,358 42,513
Other, net 4,622 145
Unrealized loss on long term investments 27,709 48,132
Change in fair value of acquisition-related contingent consideration 5,526 6,627
Changes in operating assets and liabilities:    
Accounts receivable 84,637 (42,713)
Prepaid expenses and other assets (10,777) (16,701)
Inventory (4,406) (5,712)
Accounts payable (13,709) (22,710)
Accrued and other liabilities (2,238) 14,546
Net cash provided by (used in) operating activities 206,095 (683,417)
Cash flows from investing activities:    
Purchase of long term investments (8,662) (95,468)
Sale of long term investment 1,080  
Capital expenditures (48,083) (39,265)
Purchases of marketable securities (39,301) (147,403)
Sale and maturities of marketable securities 35,213 173,576
Net cash (used in) investing activities (59,753) (108,560)
Cash flows from financing activities:    
Proceeds from issuance of common stock under stock plans 20,028 14,619
Payment of finance lease liabilities (573) (187)
Payment of contingent consideration (6,620) (11,933)
Net cash provided by financing activities 12,835 2,499
Effect of exchange rates on cash, cash equivalents, restricted cash and investments (2,331) 1,560
Net increase (decrease) in cash, cash equivalents, restricted cash and investments 156,846 (787,918)
Cash, cash equivalents, restricted cash and investments at beginning of period 1,514,765 1,833,707
Cash, cash equivalents, restricted cash and investments at end of period 1,671,611 1,045,789
Supplemental Schedule of Cash Flow Information    
Income taxes paid 339 855
Unpaid purchases of property and equipment 21,262 13,582
Leased assets obtained in exchange for new operating lease liabilities 1,898 $ 1,984
Leased assets obtained in exchange for new finance lease liabilities $ 68