v3.8.0.1

Business Combination - Estimated Average Useful Life (Details) |  | 12 Months Ended
--- | --- | ---
Jul. 01, 2017 | Dec. 31, 2017
Capitalized technology |  |
Useful lives |  |
Estimated Average Useful Life (in years) |  | 3 years
Capitalized content development |  |
Useful lives |  |
Estimated Average Useful Life (in years) |  | 4 years
University client relationships |  |
Useful lives |  |
Estimated Average Useful Life (in years) |  | 9 years
Trade names and domain names |  |
Useful lives |  |
Estimated Average Useful Life (in years) |  | 10 years
GetSmarter | Capitalized technology |  |
Useful lives |  |
Estimated Average Useful Life (in years) | 3 years |
GetSmarter | Capitalized content development |  |
Useful lives |  |
Estimated Average Useful Life (in years) | 4 years |
GetSmarter | University client relationships |  |
Useful lives |  |
Estimated Average Useful Life (in years) | 9 years |
GetSmarter | Trade names and domain names |  |
Useful lives |  |
Estimated Average Useful Life (in years) | 10 years |

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Useful life of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_FiniteLivedIntangibleAssetUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_DevelopedTechnologyRightsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_ArtisticRelatedIntangibleAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_ContractualRightsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_TradeNamesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=twou_GetEducatedInternationalProprietaryLimitedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |