XML 17 R7.htm IDEA: XBRL DOCUMENT v3.22.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Cash flows from operating activities    
Net income (loss) $ 13,218 $ (32,415)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Print textbook depreciation expense 1,610 6,581
Other depreciation and amortization expense 41,921 30,187
Share-based compensation expense 64,171 51,645
Amortization of debt issuance costs 2,779 3,097
Gain on foreign currency remeasurement of purchase consideration (4,628) 0
Impairment charges 3,411 0
Loss on early extinguishment of debt 0 78,152
Loss on change in fair value of derivative instruments, net 0 7,148
Loss from write-off of property and equipment 2,767 1,042
Gain on sale of strategic equity investment 0 (5,338)
(Gain) loss on textbook library, net (4,967) 4,230
Operating lease expense, net of accretion 3,242 3,064
Other non-cash items 167 298
Change in assets and liabilities, net of effect of acquisition of businesses:    
Accounts receivable 3,227 3,462
Prepaid expenses and other current assets 28,768 (14,715)
Other assets 13,058 7,220
Accounts payable (5,246) (3,139)
Deferred revenue 4,256 2,062
Accrued liabilities (21,034) 4,197
Other liabilities (2,965) (2,277)
Net cash provided by operating activities 143,755 144,501
Cash flows from investing activities    
Purchases of property and equipment (57,286) (46,595)
Purchases of textbooks (3,815) (5,018)
Proceeds from disposition of textbooks 2,494 6,709
Purchases of investments (356,553) (984,606)
Maturities of investments 522,466 455,536
Proceeds from sale of strategic equity investment 0 7,081
Acquisition of businesses, net of cash acquired (401,125) (7,891)
Net cash used in investing activities (293,819) (574,784)
Cash flows from financing activities    
Proceeds from common stock issued under stock plans, net 4,558 5,267
Payment of taxes related to the net share settlement of equity awards (10,221) (74,642)
Proceeds from equity offering, net of offering costs 0 1,091,466
Repayment of convertible senior notes 0 (300,751)
Proceeds from exercise of convertible senior notes capped call 0 69,004
Repurchases of common stock (300,450) 0
Net cash (used in) provided by financing activities (306,113) 790,344
Effect of exchange rate changes 4,628 0
Net (decrease) increase in cash, cash equivalents and restricted cash (451,549) 360,061
Cash, cash equivalents and restricted cash, beginning of period 855,893 481,715
Cash, cash equivalents and restricted cash, end of period 404,344 841,776
Supplemental cash flow data:    
Interest 437 615
Income taxes, net of refunds 3,915 4,268
Cash paid for amounts included in the measurement of lease liabilities:    
Operating cash flows from operating leases 3,869 4,030
Right of use assets obtained in exchange for lease obligations:    
Operating leases 3,244 0
Non-cash investing and financing activities:    
Accrued purchases of long-lived assets 4,057 2,341
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 402,089 840,056
Restricted cash included in other current assets 64 0
Restricted cash included in other assets 2,191 1,720
Total cash, cash equivalents and restricted cash $ 404,344 $ 841,776