v3.10.0.1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Cash flows from operating activities    
Net loss $ (33,218) $ (15,193)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 14,783 7,431
Stock-based compensation expense 16,131 9,390
Changes in operating assets and liabilities:    
Increase in accounts receivable, net (35,932) (15,566)
(Increase) decrease in prepaid expenses and other assets (3,705) 179
Increase in accounts payable and accrued expenses 10,207 5,135
(Decrease) increase in accrued compensation and related benefits (1,998) 1,417
Increase in deferred revenue 24,086 4,228
Increase in payments to university clients (8,923) (7,471)
(Decrease) increase in other liabilities, net (2,854) 1,282
Other 1,221 1,031
Net cash used in operating activities (20,202) (8,137)
Cash flows from investing activities    
Additions of amortizable intangible assets (40,039) (10,808)
Purchases of property and equipment (5,124) (15,449)
Advances made to university clients (100)  
Net cash used in investing activities (45,263) (26,257)
Cash flows from financing activities    
Proceeds from issuance of common stock, net of offering costs 330,862  
Proceeds from exercise of stock options 4,793 2,908
Tax withholding payments associated with settlement of restricted stock units (3,407) (1,291)
Proceeds from debt   3,500
Net cash provided by financing activities 332,248 5,117
Effect of exchange rate changes on cash (1,319) (1,031)
Net increase (decrease) in cash, cash equivalents and restricted cash 265,464 (30,308)
Cash, cash equivalents and restricted cash, beginning of period 223,370 168,730
Cash, cash equivalents and restricted cash, end of period $ 488,834 $ 138,422