XML 17 R7.htm IDEA: XBRL DOCUMENT v3.22.2.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Cash flows from operating activities    
Net income (loss) $ 264,780 $ (25,764)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Print textbook depreciation expense 1,610 9,024
Other depreciation and amortization expense 64,295 46,273
Share-based compensation expense 98,341 76,157
Amortization of debt issuance costs 4,084 4,509
Gain on foreign currency remeasurement of purchase consideration (4,628) 0
Impairment on lease related assets 3,411 0
(Gain) loss on early extinguishment of debt (93,519) 78,152
Loss on change in fair value of derivative instruments, net 0 7,148
Loss from write-off of property and equipment 3,117 1,857
Tax benefit related to release of valuation allowance (174,601) 0
Deferred income taxes 6,376 563
Gain on sale of strategic equity investment 0 (12,496)
(Gain) loss on textbook library, net (4,976) 8,765
Operating lease expense, net of accretion 4,746 4,527
Restructuring charges 0 1,851
Other non-cash items 619 (65)
Change in assets and liabilities, net of effect of acquisition of businesses:    
Accounts receivable (2,259) 3,593
Prepaid expenses and other current assets 13,251 (31,070)
Other assets 15,926 9,472
Accounts payable (1,728) 1,820
Deferred revenue 11,434 17,363
Accrued liabilities (23,323) 10,552
Other liabilities (5,240) (4,108)
Net cash provided by operating activities 181,716 208,123
Cash flows from investing activities    
Purchases of property and equipment (79,242) (67,126)
Purchases of textbooks (3,815) (10,666)
Proceeds from disposition of textbooks 2,503 7,815
Purchases of investments (534,008) (1,574,060)
Maturities of investments 783,912 893,315
Purchase of strategic equity investment (6,000) 0
Proceeds from sale of strategic equity investment 0 16,076
Acquisition of businesses, net of cash acquired (401,125) (7,891)
Net cash used in investing activities (237,775) (742,537)
Cash flows from financing activities    
Proceeds from common stock issued under stock plans, net 4,558 5,373
Payment of taxes related to the net share settlement of equity awards (12,776) (89,339)
Proceeds from equity offering, net of offering costs 0 1,091,466
Repayment of convertible senior notes (401,203) (300,755)
Proceeds from exercise of convertible senior notes capped call 0 69,005
Repurchases of common stock (323,528) 0
Payment of escrow related to acquisition 0 (7,451)
Net cash (used in) provided by financing activities (732,949) 768,299
Effect of exchange rate changes 4,628 0
Net (decrease) increase in cash, cash equivalents and restricted cash (784,380) 233,885
Cash, cash equivalents and restricted cash, beginning of period 855,893 481,715
Cash, cash equivalents and restricted cash, end of period 71,513 715,600
Supplemental cash flow data:    
Interest 875 1,053
Income taxes, net of refunds 5,530 5,610
Cash paid for amounts included in the measurement of lease liabilities:    
Operating cash flows from operating leases 6,908 5,934
Right of use assets obtained in exchange for lease obligations:    
Operating leases 7,603 0
Non-cash investing and financing activities:    
Accrued purchases of long-lived assets 4,101 1,837
Issuance of common stock related to repayment of convertible senior notes 0 235,521
Reconciliation of cash, cash equivalents and restricted cash:    
Cash and cash equivalents 69,349 713,837
Restricted cash included in other current assets 63 0
Restricted cash included in other assets 2,101 1,763
Total cash, cash equivalents and restricted cash $ 71,513 $ 715,600