Significant Accounting Policies | Significant Accounting Policies Basis of Presentation and Principles of Consolidation The accompanying consolidated financial statements include the accounts of the Company and its wholly-owned subsidiaries and have been prepared in accordance with United States generally accepted accounting principles (“U.S. GAAP”) and include the assets, liabilities, results of operations and cash flows of the Company. All significant intercompany accounts and transactions have been eliminated in consolidation. Use of Estimates The preparation of consolidated financial statements in accordance with U.S. GAAP requires management to make certain estimates and assumptions that affect the amounts reported herein. The Company bases its estimates and assumptions on historical experience and on various other factors that it believes to be reasonable under the circumstances. Due to the inherent uncertainty involved in making estimates, actual results reported in future periods may be affected by changes in those estimates. The Company evaluates its estimates and assumptions on an ongoing basis. Investments The Company’s investments within current assets on the consolidated balance sheets relate to certificates of deposit with original maturities between three months and one year. As of December 31, 2018 , the Company had a $25.0 million certificate of deposit included in investments that qualifies as a Level 1 fair value measurement asset and was stated at cost, which approximates fair value. Revenue Recognition, Accounts Receivable and Allowance for Doubtful Accounts On January 1, 2018, the Company adopted Accounting Standards Update (“ASU”) No. 2014-09, Revenue from Contracts with Customers (Topic 606) and the related amendments using the modified retrospective transition method and has concluded that doing so did not have a material impact on the amount and timing of either its revenue or costs. As part of its assessment, the Company completed reviews of its contracts and evaluated its costs, including costs of obtaining contracts with its university clients and costs associated with content development. Certain of these contract and content costs are capitalized under the new standard. The adoption of ASU 2014-09 did not have a material impact as of January 1, 2018, and no cumulative adjustment was recorded. Further, the amounts reported as of December 31, 2018 on the consolidated balance sheets and the results of operations for the year ended December 31, 2018 reported on the consolidated statements of operations and comprehensive loss would not have been materially different than under legacy U.S. GAAP (i.e., Topic 605). The Company generates substantially all of its revenue from contractual arrangements, with either its university clients or students, to provide a comprehensive platform of tightly integrated technology and technology-enabled services that support its graduate programs and short courses. Performance Obligations A performance obligation is a promise in a contract to transfer a distinct good or service to the customer. A contract’s transaction price is allocated to each distinct performance obligation and recognized as revenue when, or as, the performance obligation is satisfied. The Graduate Program Segment derives revenue primarily from contractually specified percentages of the amounts the Company’s university clients receive from their students in 2U-enabled graduate programs for tuition and fees, less credit card fees and other specified charges the Company has agreed to exclude in certain university contracts. The Company’s contracts with university clients in this segment typically have 10 to 15 year initial terms and have a single performance obligation, as the promises to provide a platform of tightly integrated technology and services that university clients need to attract, enroll, educate and support students are not distinct within the context of the contracts. The single performance obligation is delivered as the university clients receive and consume benefits, which occurs ratably over a series of academic terms. The amounts received from university clients over the term of the arrangement are variable in nature in that they are dependent upon the number of students that are enrolled in the program within each academic term. These amounts are allocated to and are recognized ratably over the related academic term, defined as the period beginning on the first day of classes through the last. Revenue is recognized net of an allowance, which is established for the Company’s expected obligation to refund tuition and fees to university clients. The Short Course Segment derives revenue directly from contracts with students for the tuition and fees paid to enroll in and progress through the Company’s short courses, which run between six and 16 weeks. The Company’s contracts with students in this segment have multiple performance obligations as the delivery of the short course and student support services are each considered distinct performance obligations. These performance obligations are each satisfied ratably over the same short course presentation period, which is defined as the period beginning on the first day of the course through the last. The Company recognizes the gross proceeds received from the students and shares contractually specified percentages with its university clients, for providing short course content and certification, which are recognized as curriculum and teaching costs on the Company’s consolidated statements of operations and comprehensive loss. The Company’s contracts with university clients in this segment are typically shorter and less restrictive than the Company’s contracts with university clients in the Graduate Program Segment. The Company does not disclose the value of unsatisfied performance obligations for the Graduate Program Segment because the variable consideration is allocated entirely to a wholly unsatisfied promise to transfer a service that forms part of a single performance obligation. The Company does not disclose the value of unsatisfied performance obligations for the Short Course Segment because the performance obligation is part of a contract that has an original duration of less than one year. Contract Acquisition Costs The Company pays commissions to certain of its employees to obtain contracts with university clients in the Graduate Program Segment. These costs are capitalized and recorded on a contract-by-contract basis and amortized using the straight-line method over the expected life, which is generally the length of the contract. With respect to contract acquisition costs in the Short Course Segment, the Company has elected to apply the practical expedient in ASC Topic 606 to expense these costs as incurred, as the terms of contracts with students in this segment are less than one year. Payments to University Clients Pursuant to certain of the Company’s contracts in the Graduate Program Segment, the Company has made, or is obligated to make, payments to university clients at either execution of a contract or at the extension of a contract in exchange for various marketing and other rights. Generally, these amounts are capitalized and amortized as contra revenue over the life of the contract, commencing on the later of when payment is due or when contract revenue recognition begins. Accounts Receivable, Contract Assets and Liabilities Balance sheet items related to contracts consist of accounts receivable, net and deferred revenue on the Company’s consolidated balance sheets. Included in accounts receivable, net are trade accounts receivable, which are comprised of billed and unbilled revenue. Accounts receivable, net is stated at net realizable value, and the Company utilizes the allowance method to provide for doubtful accounts based on management’s evaluation of the collectability of the amounts due. The Company’s estimates are reviewed and revised periodically based on historical collection experience and a review of the current status of accounts receivable, net. Historically, actual write-offs for uncollectible accounts have not significantly differed from prior estimates. The Company recognizes unbilled revenue when revenue recognition occurs in advance of billings. Unbilled revenue is recognized in the Graduate Program Segment because billings to university clients do not occur until after the academic term has commenced and final enrollment information is available. The Company’s unbilled revenue represents contract assets. Deferred revenue represents the excess of amounts billed or received as compared to amounts recognized in revenue on the consolidated statements of operations and comprehensive loss as of the end of the reporting period, and such amounts are reflected as a current liability on the Company’s consolidated balance sheets. The Company generally receives payments for its share of tuition and fees from graduate program university clients early in each academic term and from short course students, either in full upon registration for the course or in full before the end of the course based on a payment plan, prior to completion of the service period. These payments are recorded as deferred revenue until the services are delivered or until the Company’s obligations are otherwise met, at which time revenue is recognized. Business Combinations The purchase price of an acquisition is allocated to the assets acquired, including intangible assets, and liabilities assumed, based on their respective fair values at the acquisition date. Acquisition-related costs are expensed as incurred. The excess of the cost of an acquired entity, net of the amounts assigned to the assets acquired and liabilities assumed, is recognized as goodwill. The net assets and results of operations of an acquired entity are included on the Company’s consolidated financial statements from the acquisition date. Concentration of Credit Risk Financial instruments that subject the Company to significant concentrations of credit risk consist primarily of cash and cash equivalents and accounts receivable. All of the Company’s cash is held at financial institutions that management believes to be of high credit quality. The Company’s bank accounts exceed federally insured limits at times. The Company has not experienced any losses on cash to date. The Company maintains an allowance for doubtful accounts, if needed, based on collection history. Cash and Cash Equivalents Cash and cash equivalents consist of bank checking accounts, money market accounts, investments in certificates of deposit that have an original maturity of three months or less and highly liquid marketable securities with maturities at the time of purchase of three months or less. Fair Value Measurements The carrying amounts of certain assets and liabilities, including cash and cash equivalents, accounts receivable, advances to university clients, accounts payable and accrued expenses and other current liabilities, approximate their respective fair values due to their short-term nature. Fair value is defined as the price that would be received to sell an asset or paid to transfer a liability in an orderly transaction between market participants at the measurement date, based on the Company’s principal or, in the absence of a principal, most advantageous, market for the specific asset or liability. U.S. GAAP provides for a three-tier fair value hierarchy to classify and disclose all assets and liabilities measured at fair value on a recurring basis, as well as assets and liabilities measured at fair value on a non-recurring basis, in periods subsequent to their initial measurement. The fair value hierarchy requires the Company to use observable inputs when available, and to minimize the use of unobservable inputs when determining fair value. The three tiers are defined as follows: • Level 1 —Observable inputs that reflect quoted market prices (unadjusted) for identical assets or liabilities in active markets; • Level 2 —Observable inputs, other than quoted prices in active markets, that are observable either directly or indirectly in the marketplace for identical or similar assets and liabilities; and • Level 3 —Unobservable inputs that are supported by little or no market data, which require the Company to develop its own assumptions about the assumptions market participants would use in pricing the asset or liability based on the best information available in the circumstances. Advances to University Clients The Company is contractually obligated to pay advances to certain of its university clients in order to fund start-up expenses of the program on behalf of the university client. Advances to university clients are stated at realizable value. Advances are repaid to the Company on terms as required in the respective agreements. The Company recognizes imputed interest income on these advance payments when the related amount of imputed interest is deemed significant. For the years ended December 31, 2018 , 2017 and 2016 , the Company did not incur a material amount of imputed interest income. Long-Lived Assets Property and Equipment Property and equipment is stated at cost less accumulated depreciation and amortization. Expenditures for major additions, construction and improvements are capitalized. Depreciation and amortization is expensed using the straight-line method over the estimated useful lives of the related assets, which range from three to five years for computer hardware and five to seven years for furniture and office equipment. Leasehold improvements are depreciated on a straight-line basis over the lesser of the remaining term of the leased facility or the estimated useful life of the improvement, which generally ranges from four to approximately 11 years . Useful lives of significant assets are periodically reviewed and adjusted prospectively to reflect the Company’s current estimates of the respective assets’ expected utility. Repair and maintenance costs are expensed as incurred. Amortizable Intangible Assets Acquired Intangible Assets. The Company capitalizes purchased intangible assets, such as software, websites and domains, and amortizes them on a straight-line basis over their estimated useful life. Historically, the Company has assessed the useful lives of these acquired intangible assets to be between three and ten years . Capitalized Technology. Capitalized technology includes certain purchased software and technology licenses, direct third-party costs, and internal payroll and payroll-related costs used in the creation of our internal-use software. Software development projects generally include three stages: the preliminary project stage (all costs are expensed as incurred), the application development stage (certain costs are capitalized and certain costs are expensed as incurred) and the post-implementation/operation stage (all costs are expensed as incurred). Costs capitalized in the application development stage include costs of designing the application, coding, integrating the Company’s and the university’s networks and systems, and the testing of the software. Capitalization of costs requires judgment in determining when a project has reached the application development stage and the period over which the Company expects to benefit from the use of that software. Once the software is placed in service, these costs are amortized using the straight-line method over the estimated useful life of the software, which is generally three to five years. Capitalized Content Development. The Company develops content for each offering on a course-by-course basis in conjunction with the faculty for each graduate program and short course. University clients and their faculty generally provide materials used for the course in an on-campus setting, including curricula, case studies and other reading materials, and presentations. The Company is responsible for the conversion of the materials into a format suitable for delivery through its online learning platform, including all expenses associated with this effort. With regard to the Graduate Program Segment, the development of content is part of the Company’s single performance obligation and is considered a contract fulfillment cost. The content development costs that qualify for capitalization are third-party direct costs, such as videography, editing and other services associated with creating digital content. Additionally, the Company capitalizes internal payroll and payroll-related costs incurred to create and produce videos and other digital content utilized in the university clients’ offerings for delivery via the Company’s online learning platform. Capitalization ends when content has been fully developed by both the Company and the university client, at which time amortization of the capitalized content development costs begins. The capitalized costs for each offering are recorded on a course-by-course basis and included in capitalized content costs in amortizable intangible assets, net on the Company’s consolidated balance sheets. These costs are amortized using the straight-line method over the estimated useful life of the respective course, which is generally four to five years . The estimated useful life corresponds with the planned curriculum refresh rate. This refresh rate is consistent with expected curriculum refresh rates as cited by faculty members for similar on-campus offerings. Evaluation of Long-Lived Assets The Company reviews long-lived assets, which consist of property and equipment, capitalized technology costs, capitalized content development costs and acquired finite-lived intangible assets, for impairment whenever events or changes in circumstances indicate the carrying value of an asset may not be recoverable. In order to assess the recoverability of the capitalized technology and content development costs, the costs are grouped by the lowest level of independent cash flows (i.e., by degree program or short course, for content development costs). Recoverability of a long-lived asset is measured by a comparison of the carrying value of an asset or asset group to the future undiscounted net cash flows expected to be generated by that asset or asset group. If such assets are not recoverable, the impairment to be recognized is measured by the amount by which the carrying value of an asset exceeds the estimated fair value (discounted cash flow) of the asset or asset group. The Company’s impairment analysis is based upon cumulative results and forecasted performance. Non-Cash Long-Lived Asset Additions During the year ended December 31, 2018 , the Company had capital asset additions of $87.4 million in property and equipment and capitalized technology and content development, of which $5.3 million consisted of non-cash capital expenditures, primarily related to the acquisition of certain long-lived assets for which a liability was accrued. Due to extended payment terms associated with the timing of cash capital expenditures made more than 90 days after the date of purchase, an additional $4.9 million was classified as cash flows from financing activities in the consolidated statement of cash flows for the year ended December 31, 2018 . During the year ended December 31, 2017 , the Company had capital asset additions of $62.3 million in property and equipment and capitalized technology and content development, of which $11.2 million consisted of non-cash capital expenditures, primarily related to landlord funded leasehold improvements. Goodwill Goodwill is the excess of purchase price over the fair value of identified net assets of the business acquired. The Company’s goodwill balance relates to the acquisition of GetSmarter in 2017. The Company reviews goodwill at least annually, as of October 1. Between annual tests, goodwill is reviewed for possible impairment if an event occurs or circumstances change that would more likely than not reduce the fair value of the reporting unit below its carrying value. The Company tests goodwill at the reporting unit level, which is an operating segment or one level below an operating segment. The Company initially assesses qualitative factors to determine if it is necessary to perform the two-step goodwill impairment review. The Company will review goodwill for impairment using the two-step process if it decides to bypass the qualitative assessment or determines that it is more likely than not that the fair value of a reporting unit is less than its carrying value based on a qualitative assessment. Upon the completion of the two-step process, the Company may be required to recognize an impairment based on the difference between the carrying value and the fair value of the goodwill recorded. Employee Benefits The Company offers a variety of benefits to its employees (e.g., healthcare, gym memberships and tuition reimbursement). The Company accounts for costs related to providing employee benefits as incurred, unless there is a service requirement, in which case, such costs are recognized over the service commitment period. Government Grants Government grants awarded to the Company in the form of forgivable loans are recorded as “deferred government grant obligations” within long-term liabilities on the consolidated balance sheets until all contingencies are resolved and the grant is determined to be realized. Income Taxes Income taxes are accounted for under the asset and liability method, which requires the recognition of deferred tax assets and liabilities for the expected future tax consequences of events that are included in the financial statements. Under this method, the deferred tax assets and liabilities are determined based on the differences between the financial statement and tax bases of the assets and liabilities using enacted tax rates in effect for the year in which the differences are expected to reverse. The effect of a change in tax rates on the deferred tax assets and liabilities is recognized in earnings in the period when the new rate is enacted. Deferred tax assets are subject to periodic recoverability assessments. Valuation allowances are established, when necessary, to reduce deferred tax assets to the amount that more likely than not will be realized. The Company considers all positive and negative evidence relating to the realization of the deferred tax assets in assessing the need for a valuation allowance. The Company currently maintains a full valuation allowance against deferred tax assets in the U.S. and certain entities in the foreign jurisdictions. The Company records a liability for unrecognized tax benefits resulting from uncertain tax positions taken or expected to be taken in a tax return. The Company accounts for uncertainty in income taxes using a two-step approach for evaluating tax positions. Step one, recognition, occurs when the Company concludes that a tax position, based solely on its technical merits, is more likely than not to be sustained upon examination. Step two, measurement, determines the amount of benefit that is more likely than not to be realized upon ultimate settlement with a taxing authority that has full knowledge of all relevant information. De-recognition of a tax position that was previously recognized would occur if the Company subsequently determines that a tax position no longer meets the more likely than not threshold of being sustained. The Company recognizes interest and penalties, if any, related to unrecognized tax benefits as income tax expense on the consolidated statements of operations and comprehensive loss. Marketing and Sales Costs The majority of the marketing and sales costs incurred by the Company are directly related to acquiring students for its university clients’ graduate programs, with lesser amounts related to acquiring students for its short course and marketing and advertising efforts related to the Company’s own brand. For the years ended December 31, 2018 , 2017 and 2016 , costs related to the Company’s marketing and advertising efforts of its own brand were not material. All such costs are expensed as incurred and reported in marketing and sales expense on the Company’s consolidated statements of operations and comprehensive loss. As of December 31, 2018 and 2017 , the Company had $10.3 million and $11.7 million , respectively, of accrued marketing costs included in accounts payable and accrued expenses on the Company’s consolidated balance sheets. Leases The Company leases all of its office facilities and enters into various other lease agreements in conducting its business. At the inception of each lease, the Company evaluates the lease agreement to determine whether the lease is an operating or capital lease. Additionally, many of the Company’s lease agreements contain renewal options, tenant improvement allowances, rent holiday and/or rent escalation clauses. The Company defers tenant improvement allowances and amortizes such balances as a reduction of rent expense over the term of the lease. When rent holidays or rent escalations are included in a lease agreement, the Company records a deferred rent asset or liability on the consolidated financial statements, and records these items in rent expense evenly over the term of the lease. The Company is also required to make additional payments under operating lease terms for taxes, insurance and other operating expenses incurred during the operating lease period; such items are expensed as incurred. Rental deposits are included as other assets on the consolidated financial statements for lease agreements that require payments in advance or deposits held for security that are refundable, less any damages, at the end of the respective lease. Stock-Based Compensation The Company accounts for stock-based compensation awards based on the fair value of the award as of the grant date. For awards subject to service-based vesting conditions, the Company recognizes stock-based compensation expense on a straight-line basis over the awards’ requisite service period. Effective April 1, 2017, expected volatility is based on the historical volatilities of the Company’s common stock. Prior to January 1, 2017, the Company adjusted stock-based compensation expense for estimated forfeitures of stock-based awards. As described in the “Recent Accounting Pronouncements” section of this Note, beginning on January 1, 2017, the Company accounts for forfeitures (and the impact on stock-based compensation expense) as they occur. For awards subject to both performance and service-based vesting conditions, the Company recognizes stock-based compensation expense using an accelerated recognition method when it is probable that the performance condition will be achieved. Foreign Currency Translation For the portion of the Company’s non-U.S. business where the local currency is the functional currency, operating results are translated into U.S. dollars using the average rate of exchange for the period, and assets and liabilities are converted at the closing rates on the period end date. Gains and losses on translation of these accounts are accumulated and reported as a separate component of stockholder’s equity and comprehensive loss. For any transaction that is in a currency different from the entity’s functional currency, the Company records a gain or loss based on the difference between the exchange rate at the transaction date and the exchange rate at the transaction settlement date (or rate at period end, if unsettled) as other income (expense), net on the consolidated statements of operations and comprehensive loss. Recent Accounting Pronouncements In August 2018, the Financial Accounting Standards Board (“FASB”) issued ASU No. 2018-15, Intangibles—Goodwill and Other—Internal-Use Software (Subtopic 350-40): Customer’s Accounting for Implementation Costs Incurred in a Cloud Computing Arrangement That Is a Service Contract , which requires customers in cloud computing arrangements that are service contracts to follow the internal-use software guidance in ASC 350-40 to determine which implementation costs to capitalize as assets or expense as incurred. The amendments in this ASU are effective for fiscal years beginning after December 15, 2019, with early adoption permitted. The Company adopted this ASU as of July 1, 2018 under the prospective method. During the six months ended December 31, 2018 since the adoption of this ASU, the Company capitalized $0.4 million of implementation costs incurred in its cloud computing arrangements that are service contracts. In July 2018, the FASB issued ASU No. 2018-09, Codification Improvements , which clarifies and corrects unintended applications of guidance, and makes improvements to several Accounting Standards Codification topics. The applicable amendments in this ASU will be effective for the Company in annual periods beginning after December 15, 2018. The Company does not expect the adoption of this standard to have a material impact on its consolidated financial statements and related disclosures. In June 2018, the FASB issued ASU No. 2018-07, Compensation—Stock Compensation (Topic 718): Improvements to Nonemployee Share-Based Payment Accounting , which simplifies the accounting for share-based payments to nonemployees. The amendments in this ASU are effective for fiscal years beginning after December 15, 2018, with early adoption permitted. The Company does not expect the adoption of this standard to have a material impact on its consolidated financial statements and related disclosures. In January 2017, the FASB issued ASU No. 2017-04, Intangibles—Goodwill and Other (Topic 350): Simplifying the Test for Goodwill Impairment , which eliminates step two from the goodwill impairment test and requires an entity to recognize an impairment charge for the amount by which the carrying amount of a reporting unit exceeds its fair value, up to the amount of goodwill allocated to that reporting unit. The amendments in this ASU are effective for fiscal years beginning after December 15, 2019, with early adoption permitted. The Company expects that the adoption of this standard will impact its consolidated financial statements and related disclosures only to the extent that a future goodwill impairment test results in the recognition of an impairment charge. In August 2016, the FASB issued ASU No. 2016-15, Statement of Cash Flows (Topic 230): Classification of Certain Cash Receipts and Cash Payments . The ASU addresses eight specific cash flow issues with the objective of reducing the existing diversity in practice surrounding how certain transactions are classified in the statement of cash flows. The amendments in this ASU were effective for fiscal years beginning after December 15, 2017. The Company adopted this ASU on January 1, 2018. Adoption of this standard did not have a material impact on the Company’s consolidated statements of cash flows and related disclosures. In March 2016, the FASB issued ASU No. 2016-09, Compensation—Stock Compensation (Topic 718): Improvements to Employee Share-Based Payment Accounting . The ASU simplifies various aspects related to the accounting and presentation of share-based payments. The guidance also allows employers to withhold shares to satisfy minimum statutory withholding requirements up to the employees’ maximum individual tax rate without causing the award to be classified as a liability. Additionally, the guidance stipulates that cash paid by an employer to a taxing authority when directly withholding shares for tax withholding purposes should be classified as a financing activity on the statement of cash flows, and allows companies to elect an accounting policy to either estimate the share-based award forfeitures (and expense) or account for forfeitures (and expense) as they occur. The amendments in this ASU are effective for fiscal years beginning after December 15, 2016. The Company adopted this ASU on January 1, 2017. In connection with the adoption of this standard, the Company elected to no longer apply an estimated forfeiture rate and will instead account for forfeitures as they occur. Accordingly, the Company applied the modified retrospective adoption approach, which resulted in a $0.1 million cumulative-effect reduction to retained earnings with an offset to additional paid-in-capital. In February 2016, the FASB issued ASU No. 2016-02, Leases (Topic 842) . The ASU introduces a model for lessees requiring most leases to be reported on the balance sheet. The amendments in this ASU are effective for fiscal years beginning after December 15, 2018, and the Company will adopt this ASU in the first quar |