v3.24.2.u1

Organization (Details) people in Millions | 6 Months Ended
--- | ---
Jun. 30, 2024 people segment learningOpportunity university
Organization, Consolidation and Presentation of Financial Statements [Abstract] |
Number of registered learners | people | 89
Number of universities and other leading institutions that company serves | university | 260
Number of learning opportunities offered | learningOpportunity | 4,700
Number of reportable segments | segment | 2

X
- Definition Number Of Learning Opportunities Offered + References No definition available. + Details
Name: | twou_NumberOfLearningOpportunitiesOffered
Namespace Prefix: | twou_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number Of People With Access To The Company's Education Programs + References No definition available. + Details
Name: | twou_NumberOfPeopleWithAccessToTheCompanysEducationPrograms
Namespace Prefix: | twou_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number Of Universities The Company Serves + References No definition available. + Details
Name: | twou_NumberOfUniversitiesTheCompanyServes
Namespace Prefix: | twou_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of segments reported by the entity. A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 47 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482785/280-10-55-47 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 54 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482785/280-10-55-54 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 18 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482810/280-10-50-18 + Details
Name: | us-gaap_NumberOfReportableSegments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

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