XML 18 R7.htm IDEA: XBRL DOCUMENT v3.24.2.u1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2024
Jun. 30, 2023
Cash flows from operating activities    
Net (loss) income $ (618,304) $ 26,798
Adjustments to reconcile net (loss) income to net cash provided by operating activities:    
Share-based compensation expense 47,336 69,666
Depreciation and amortization expense 39,393 52,027
Deferred income taxes 141,032 20,142
Operating lease expense, net 3,141 3,009
Amortization of debt issuance costs 1,081 1,988
Loss from write-off of property and equipment 1,657 450
Impairment expense 481,531 0
Gain on early extinguishment of debt 0 (53,777)
Loss contingency 0 7,000
Impairment on lease related assets 2,189 0
Other non-cash items 82 (1,083)
Change in assets and liabilities:    
Accounts receivable 10,561 3,081
Prepaid expenses and other current assets (12,173) 15,082
Other assets (773) 5,470
Accounts payable (12,045) (671)
Deferred revenue (10,226) (3,634)
Accrued liabilities (4,057) (1,436)
Other liabilities (2,880) (8,205)
Net cash provided by operating activities 67,545 135,907
Cash flows from investing activities    
Purchases of property and equipment (45,817) (33,864)
Proceeds from disposition of textbooks 0 9,787
Purchases of investments (123,669) (552,409)
Maturities of investments 89,890 476,862
Proceeds from sale of investments 0 238,681
Proceeds from sale of strategic equity investment 15,500 0
Purchase of strategic equity investment 0 (9,604)
Net cash (used in) provided by investing activities (64,096) 129,453
Cash flows from financing activities    
Proceeds from common stock issued under stock plans, net 2,190 3,081
Payment of taxes related to the net share settlement of equity awards (7,825) (11,068)
Repurchase of common stock 0 (186,368)
Repayment of convertible senior notes 0 (369,761)
Proceeds from exercise of convertible senior notes capped call 0 297
Net cash used in financing activities (5,635) (563,819)
Effect of exchange rate changes (305) 197
Net decrease in cash, cash equivalents and restricted cash (2,491) (298,262)
Cash, cash equivalents and restricted cash, beginning of period 137,976 475,854
Cash, cash equivalents and restricted cash, end of period 135,485 177,592
Supplemental cash flow data:    
Interest 224 517
Income taxes, net of refunds 2,729 6,171
Cash paid for amounts included in the measurement of lease liabilities:    
Operating cash flows from operating leases 4,346 4,909
Right of use assets obtained in exchange for lease obligations:    
Operating leases 663 12,407
Non-cash investing and financing activities:    
Accrued purchases of long-lived assets 5,016 4,518
Reconciliation of cash, cash equivalents and restricted cash:    
Cash and cash equivalents 133,068 175,368
Restricted cash included in other current assets 540 60
Restricted cash included in other assets 1,877 2,164
Total cash, cash equivalents and restricted cash $ 135,485 $ 177,592