v3.10.0.1

Significant Accounting Policies (Details) - USD ($) $ in Millions | 6 Months Ended |
--- | --- | ---
Jun. 30, 2018 | Jun. 30, 2017 | Dec. 31, 2017
Restricted Cash and Investments [Abstract] |  |  |
Restricted cash | $ 0.1 | $ 101.0 | $ 0.0
Non-Cash Long-Lived Asset Additions |  |  |
Capital asset additions during the period | $ 55.2 | 31.6 |
Minimum |  |  |
Amortizable Intangible Assets |  |  |
Useful life of capitalized content development costs | 4 years |  |
Maximum |  |  |
Amortizable Intangible Assets |  |  |
Useful life of capitalized content development costs | 5 years |  |
Accounts payable and accrued expenses |  |  |
Marketing and Sales Costs |  |  |
Accrued marketing costs | $ 12.3 |  | $ 11.7
Leasehold improvements |  |  |
Non-Cash Long-Lived Asset Additions |  |  |
Capital asset additions during the period |  | $ 5.3 |
Landlord funded leasehold improvements |  |  |
Non-Cash Long-Lived Asset Additions |  |  |
Non-cash capital expenditure | $ 10.0 |  |
Graduate Program Segment | Minimum |  |  |
Performance Obligations |  |  |
Period of contract with university clients | 10 years |  |
Graduate Program Segment | Maximum |  |  |
Performance Obligations |  |  |
Period of contract with university clients | 15 years |  |
Short Course Segment | Minimum |  |  |
Performance Obligations |  |  |
Period of contract with university clients | 42 days |  |
Short Course Segment | Maximum |  |  |
Performance Obligations |  |  |
Period of contract with university clients | 112 days |  |

X
- Definition Represents the useful life of capitalized content development costs. Such life is expressed in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | twou_CapitalizedContentDevelopmentCostsUsefulLife
Namespace Prefix: | twou_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition N/A + References No definition available. + Details
Name: | twou_MarketingAndSalesCostsAbstract
Namespace Prefix: | twou_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the non-cash capital expenditure. + References No definition available. + Details
Name: | twou_NonCashCapitalExpenditure
Namespace Prefix: | twou_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Carrying value as of the balance sheet date of obligations incurred through that date and payable for the marketing, trade and selling of the entity's goods and services. Marketing costs would include expenditures for planning and executing the conception, pricing, promotion, and distribution of ideas, goods, and services; costs of public relations and corporate promotions; and obligations incurred and payable for sales discounts, rebates, price protection programs, etc. offered to customers and under government programs. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer). + References No definition available. + Details
Name: | us-gaap_AccruedMarketingCostsCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_FiniteLivedIntangibleAssetsNetAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of acquisition of long-lived, physical assets used in the normal conduct of business and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment. + References No definition available. + Details
Name: | us-gaap_PropertyPlantAndEquipmentAdditions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of cash and cash equivalents restricted as to withdrawal or usage, classified as current. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=98513485&loc=SL98516268-108586 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3044-108585 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=82887183&loc=d3e6676-107765 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(1)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_RestrictedCashAndInvestmentsAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_RevenuePerformanceObligationAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period in which remaining performance obligation is expected to be recognized as revenue, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 13 -Subparagraph (b)(1) -URI http://asc.fasb.org/extlink&oid=82913847&loc=SL49130556-203045 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 270 -SubTopic 10 -Section 50 -Paragraph 1A -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=84173487&loc=SL51747714-108306 + Details
Name: | us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_AccountsPayableAndAccruedLiabilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_LeaseholdImprovementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=twou_LandlordFundedLeaseholdImprovementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=twou_GraduateProgramSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=twou_ShortCourseSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |