XML 18 R7.htm IDEA: XBRL DOCUMENT v3.24.3
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2024
Sep. 30, 2023
Cash flows from operating activities    
Net (loss) income $ (830,943) $ 8,515
Adjustments to reconcile net (loss) income to net cash provided by operating activities:    
Share-based compensation expense 69,267 101,596
Depreciation and amortization expense 58,966 108,945
Deferred income taxes 141,103 20,929
Operating lease expense, net 4,647 4,535
Amortization of debt issuance costs 1,628 2,610
Loss from write-off of property and equipment 2,024 3,578
Impairment expense 677,239 3,600
Gain on early extinguishment of debt 0 (85,926)
Loss contingency 5,100 7,000
Impairment on lease related assets 2,189 0
Other non-cash items 222 (389)
Change in assets and liabilities:    
Accounts receivable 8,019 (6,908)
Prepaid expenses and other current assets (55,725) 558
Other assets (469) 8,671
Accounts payable (8,308) 4,820
Deferred revenue (11,763) 2,539
Accrued liabilities 46,849 (6,149)
Other liabilities (2,968) (9,810)
Net cash provided by operating activities 107,077 168,714
Cash flows from investing activities    
Purchases of property and equipment (61,659) (57,298)
Proceeds from disposition of textbooks 0 9,787
Purchases of investments (134,213) (585,275)
Maturities of investments 96,907 561,197
Proceeds from sale of investments 0 238,681
Proceeds from sale of strategic equity investment 15,500 0
Purchase of strategic equity investment 0 (11,853)
Net cash (used in) provided by investing activities (83,465) 155,239
Cash flows from financing activities    
Proceeds from common stock issued under stock plans, net 2,191 3,108
Payment of taxes related to the net share settlement of equity awards (8,648) (13,857)
Repurchase of common stock 0 (186,368)
Repayment of convertible senior notes 0 (505,986)
Proceeds from exercise of convertible senior notes capped call 0 297
Net cash used in financing activities (6,457) (702,806)
Effect of exchange rate changes (149) (379)
Net increase (decrease) in cash, cash equivalents and restricted cash 17,006 (379,232)
Cash, cash equivalents and restricted cash, beginning of period 137,976 475,854
Cash, cash equivalents and restricted cash, end of period 154,982 96,622
Supplemental cash flow data:    
Interest 449 741
Income taxes, net of refunds 3,531 8,368
Cash paid for amounts included in the measurement of lease liabilities:    
Operating cash flows from operating leases 6,329 7,037
Right of use assets obtained in exchange for lease obligations:    
Operating leases 9,686 12,407
Non-cash investing and financing activities:    
Accrued purchases of long-lived assets $ 4,771 $ 5,879