XML 21 R8.htm IDEA: XBRL DOCUMENT v3.20.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Cash flows from operating activities:    
Net income (loss) $ (430,344) $ 207,630
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 25,692 27,326
Stock-based compensation 88,816 81,207
Other, net 8,567 227
Unrealized gain on long term investments (24,142) (16,364)
Change in fair value of acquisition-related contingent consideration 12,681 13,279
Changes in operating assets and liabilities:    
Accounts receivable (119,724) 4,918
Prepaid expenses and other assets (11,663) 8,354
Inventory (9,384) (2,288)
Accounts payable 7,262 (32,243)
Accrued and other liabilities 38,204 16,577
Net cash (used in) provided by operating activities (414,035) 308,623
Cash flows from investing activities:    
Purchase of long term investments (95,468)  
Sale of long term investment 4,536  
Capital expenditures (83,125) (65,561)
Purchases of marketable securities (287,419) (103,970)
Sale and maturities of marketable securities 309,658 99,821
Net cash used in investing activities (151,818) (69,710)
Cash flows from financing activities:    
Proceeds from issuance of common stock under stock plans 83,813 30,672
Payment of finance lease liabilities (387) (409)
Payment of contingent consideration (24,520) (16,766)
Net cash provided by financing activities 58,906 13,497
Effect of exchange rates on cash, cash equivalents, restricted cash and investments 2,553 (158)
Net (decrease) increase in cash, cash equivalents, restricted cash and investments (504,394) 252,252
Cash, cash equivalents, restricted cash and investments at beginning of period 1,833,707 1,164,986
Cash, cash equivalents, restricted cash and investments at end of period 1,329,313 1,417,238
Supplemental Schedule of Cash Flow Information    
Interest paid 119 119
Income taxes paid 24,165 6,439
Reclassification to common stock and additional paid in capital in connection with conversions of 1.25% convertible senior notes due 2020 162  
Unpaid purchases of property and equipment 14,817  
Leased assets obtained in exchange for new operating lease liabilities 8,720 2,358
Leased assets obtained in exchange for new finance lease liabilities $ 529 $ 29,740