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 $ (235,222) $ (38,330) $ (29,423)
Adjustments to reconcile net loss to net cash (used in) provided by operating activities:      
Depreciation and amortization expense 69,843 32,785 19,624
Stock-based compensation expense 51,504 31,410 21,930
Non-cash lease expense 11,725 0 0
Bad debt expense 1,425 0 0
Impairment charge 70,379 0 0
Changes in operating assets and liabilities, net of assets and liabilities acquired:      
Accounts receivable, net 11,949 (18,497) (5,634)
Payments to university clients (21,675) (11,322) (13,239)
Prepaid expenses and other assets (6,845) (4,932) 1,549
Accounts payable and accrued expenses 17,081 4,724 3,504
Accrued compensation and related benefits (5,539) 4,046 2,504
Deferred revenue 10,014 1,527 1,661
Other liabilities, net (28,595) (6,243) 4,763
Other 1,982 1,712 867
Net cash (used in) provided by operating activities (51,974) (3,120) 8,106
Cash flows from investing activities      
Purchase of a business, net of cash acquired (388,004) 0 (97,102)
Additions of amortizable intangible assets (64,923) (65,190) (23,823)
Purchases of property and equipment (13,421) (11,996) (27,316)
Purchase of investments (10,000) (25,000) 0
Proceeds from maturities of investments 25,000 0 0
Advances made to university clients (400) (300) (1,950)
Advances repaid by university clients 350 25 817
Net cash used in investing activities (451,398) (102,461) (149,374)
Cash flows from financing activities      
Proceeds from issuance of common stock, net of offering costs 0 330,901 189,463
Proceeds from debt 244,724 0 3,500
Payments on debt 0 0 (1,517)
Payment of debt issuance costs (1,953) 0 0
Tax withholding payments associated with settlement of restricted stock units (2,574) (3,451) (1,309)
Proceeds from exercise of stock options 3,119 7,366 6,615
Proceeds from employee stock purchase plan share purchases 3,382 3,121 0
Payments for acquisition of amortizable intangible assets (2,180) (4,900) 0
Net cash provided by financing activities 244,518 333,037 196,752
Effect of exchange rate changes on cash (1,049) (1,054) (844)
Net (decrease) increase in cash, cash equivalents and restricted cash (259,903) 226,402 54,640
Cash, cash equivalents and restricted cash, beginning of period 449,772 223,370 168,730
Cash, cash equivalents and restricted cash, end of period $ 189,869 $ 449,772 $ 223,370