XML 19 R8.htm IDEA: XBRL DOCUMENT v3.21.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Cash flows from operating activities:    
Net income (loss) $ 202,991 $ (430,344)
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 28,295 25,692
Stock-based compensation 92,090 88,816
Deferred income taxes (160)  
Other, net 3,214 8,567
Unrealized loss (gain) on long term investments 944 (24,142)
Change in fair value of acquisition-related contingent consideration 10,158 12,681
Changes in operating assets and liabilities:    
Accounts receivable 43,824 (119,724)
Prepaid expenses and other assets (2,981) (11,663)
Inventory (16,287) (9,384)
Accounts payable 23,333 7,262
Accrued and other liabilities (6,382) 38,204
Net cash provided by (used in) operating activities 379,039 (414,035)
Cash flows from investing activities:    
Purchase of long term investments (8,662) (95,468)
Sale of long term investments 9,328 4,536
Capital expenditures (114,390) (83,125)
Purchases of marketable securities (102,288) (287,419)
Sale and maturities of marketable securities 107,114 309,658
Net cash (used in) investing activities (108,898) (151,818)
Cash flows from financing activities:    
Proceeds from issuance of common stock under stock plans 31,044 83,813
Payment of finance lease liabilities (1,173) (387)
Payment of contingent consideration (13,357) (24,520)
Net cash provided by financing activities 16,514 58,906
Effect of exchange rates on cash, cash equivalents, restricted cash and investments (2,159) 2,553
Net increase (decrease) in cash, cash equivalents, restricted cash and investments 284,496 (504,394)
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,799,261 1,329,313
Supplemental Schedule of Cash Flow Information    
Interest paid   119
Income taxes paid 35,996 24,165
Reclassification to common stock and additional paid in capital in connection with conversion/exchange of debt instruments   162
Unpaid purchases of property and equipment 30,823 14,817
Leased assets obtained in exchange for new operating lease liabilities 7,217 8,720
Leased assets obtained in exchange for new finance lease liabilities $ 408 $ 529