XML 42 R7.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Cash flows from operating activities      
Net loss $ (9,605) $ (14,888) $ (20,283)
Adjustments to reconcile net loss to net cash provided by operating activities:      
Depreciation and amortization expense 30,247 22,805 19,337
Share-based compensation expense 64,909 52,030 38,359
Gain on liquidation of textbooks 0 0 (4,766)
Loss from write-offs of textbooks 0 0 314
Loss from write-offs of property and equipment 1,009 93 1,368
Interest accretion on deferred consideration 0 0 (626)
Amortization of debt discount and issuance costs 43,202 10,494 0
Deferred income taxes (39) (323) 0
Operating lease expense, net of accretion 4,385 0 0
Other, net (416) 65 68
Change in assets and liabilities net of effect of acquisition of businesses:      
Accounts receivable 1,829 (1,538) (175)
Prepaid expenses and other current assets (12,930) (4,921) 13,550
Other assets (1,494) 48 1,049
Accounts payable (2,395) 893 2,649
Deferred revenue (1,682) 3,978 (1,396)
Accrued liabilities (206) 3,838 2,087
Other liabilities (3,411) 2,539 15
Net cash provided by operating activities 113,403 75,113 51,550
Cash flows from investing activities      
Proceeds from liquidations of textbooks 0 0 6,943
Purchases of investments (959,911) (146,856) (128,247)
Proceeds from sale of investments 53,261 1,800 16,393
Maturities of investments 324,700 138,380 9,750
Purchases of property and equipment (42,326) (31,223) (26,142)
Acquisition of businesses, net of cash acquired (79,149) (34,650) (14,931)
Purchases of strategic equity investment 0 (10,000) 0
Net cash used in investing activities (703,425) (82,549) (136,234)
Cash flows from financing activities      
Common stock issued under stock plans, net 35,100 29,116 23,659
Payment of taxes related to the net share settlement of equity awards (94,571) (49,089) (20,115)
Payment of deferred cash consideration related to acquisitions 0 0 (16,939)
Proceeds from follow-on offering, net of offering costs 0 0 147,609
Proceeds from issuance of convertible senior notes, net of issuance costs 780,180 335,618 0
Purchase of convertible senior notes capped call (97,200) (39,227) 0
Repurchase of common stock (20,000) (20,000) 0
Net cash provided by financing activities 603,509 256,418 134,214
Net increase in cash, cash equivalents and restricted cash 13,487 248,982 49,530
Cash, cash equivalents and restricted cash, beginning of period 375,945 126,963 77,433
Cash, cash equivalents and restricted cash, end of period 389,432 375,945 126,963
Supplemental cash flow data:      
Interest 1,332 605 85
Income taxes 2,070 2,097 1,790
Cash paid for amounts included in the measurement of lease liabilities:      
Operating cash flows from operating leases (5,297) 0 0
Right of use assets obtained in exchange for lease obligations, operating leases 3,364 0 0
Non-cash investing and financing activities:      
Accrued purchases of long-lived assets 10,036 1,210 3,573
Issuance of common stock related to prior acquisition 3,003 0 0
Reconciliation of cash, cash equivalents and restricted cash:      
Total cash, cash equivalents and restricted cash $ 389,432 $ 126,963 $ 77,433