XML 22 R8.htm IDEA: XBRL DOCUMENT v3.21.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Cash flows from operating activities:    
Net income (loss) $ 384,730 $ (445,547)
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 42,986 38,641
Stock-based compensation 134,784 132,616
Deferred income taxes (178)  
Other, net 5,268 8,698
Unrealized loss (gain) on long term investments 28,394 (10,935)
Change in fair value of acquisition-related contingent consideration 13,068 19,790
Changes in operating assets and liabilities:    
Accounts receivable (34,695) (55,656)
Prepaid expenses and other assets (24,784) (11,384)
Inventory (16,215) (9,204)
Accounts payable 15,742 38,865
Accrued and other liabilities 85,037 62,196
Net cash provided by (used in) operating activities 634,137 (231,920)
Cash flows from investing activities:    
Purchase of long term investments (8,662) (95,468)
Sale of long term investments 10,473 17,250
Capital expenditures (146,543) (135,946)
Purchases of marketable securities (228,170) (418,698)
Sale and maturities of marketable securities 231,250 466,591
Net cash used in investing activities (141,652) (166,271)
Cash flows from financing activities:    
Proceeds from issuance of common stock under stock plans net of tax withholding 19,052 91,596
Payment of finance lease liabilities (1,788) (619)
Payment of contingent consideration (20,093) (31,140)
Net cash (used in) provided by financing activities (2,829) 59,837
Effect of exchange rates on cash, cash equivalents, restricted cash and investments (3,718) 5,085
Net increase (decrease) in cash, cash equivalents, restricted cash and investments 485,938 (333,269)
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 2,000,703 1,500,438
Supplemental Schedule of Cash Flow Information    
Interest paid   119
Income taxes paid 45,872 56,787
Reclassification to common stock and additional paid in capital in connection with conversion/exchange of debt instruments   6,992
Unpaid purchases of property and equipment 23,892 12,836
Leased assets obtained in exchange for new operating lease liabilities 9,068 13,020
Leased assets obtained in exchange for new finance lease liabilities $ 455 $ 2,160