v3.24.2.u1

Receivables and Contract Liabilities -Schedule Of Other Receivable Credit Quality Indicators (Details) - USD ($) $ in Thousands | Jun. 30, 2024 | Dec. 31, 2023
--- | --- | ---
Financing Receivable, Credit Quality Indicator [Line Items] |  |
Origination year | $ 15,935 | $ 33,580
Origination year, one year before current fiscal year | 17,427 | 6,760
Origination year, two years before current fiscal year | 6,037 | 5,702
Origination year, three years before current fiscal year | 3,549 | 1,780
Origination year, four years before current fiscal year | 5,694 | 1,536
Total | 48,642 | 49,358
High |  |
Financing Receivable, Credit Quality Indicator [Line Items] |  |
Origination year | 5,216 | 12,744
Origination year, one year before current fiscal year | 5,966 | 1,229
Origination year, two years before current fiscal year | 1,147 | 404
Origination year, three years before current fiscal year | 366 | 311
Origination year, four years before current fiscal year | 1,023 | 205
Total | 13,718 | 14,893
Mid |  |
Financing Receivable, Credit Quality Indicator [Line Items] |  |
Origination year | 6,392 | 13,178
Origination year, one year before current fiscal year | 7,237 | 3,067
Origination year, two years before current fiscal year | 2,853 | 2,614
Origination year, three years before current fiscal year | 1,609 | 735
Origination year, four years before current fiscal year | 2,538 | 674
Total | 20,629 | 20,268
Low |  |
Financing Receivable, Credit Quality Indicator [Line Items] |  |
Origination year | 4,327 | 7,658
Origination year, one year before current fiscal year | 4,224 | 2,464
Origination year, two years before current fiscal year | 2,037 | 2,684
Origination year, three years before current fiscal year | 1,574 | 734
Origination year, four years before current fiscal year | 2,133 | 657
Total | $ 14,295 | $ 14,197

X
- Definition Other Receivables Gross + References No definition available. + Details
Name: | twou_OtherReceivablesGross
Namespace Prefix: | twou_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Other Receivables, Year Five, Originated, Four Years before Current Fiscal Year + References No definition available. + Details
Name: | twou_OtherReceivablesYearFiveOriginatedFourYearsBeforeCurrentFiscalYear
Namespace Prefix: | twou_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Other Receivables, Year Four, Originated, Three Years before Current Fiscal Year + References No definition available. + Details
Name: | twou_OtherReceivablesYearFourOriginatedThreeYearsBeforeCurrentFiscalYear
Namespace Prefix: | twou_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Other Receivables, Year One, Originated, Current Fiscal Year + References No definition available. + Details
Name: | twou_OtherReceivablesYearOneOriginatedCurrentFiscalYear
Namespace Prefix: | twou_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Other Receivables, Year Three, Originated, Two Years before Current Fiscal Year + References No definition available. + Details
Name: | twou_OtherReceivablesYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear
Namespace Prefix: | twou_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Other Receivables, Year Two, Originated, Fiscal Year before Current Fiscal Year + References No definition available. + Details
Name: | twou_OtherReceivablesYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear
Namespace Prefix: | twou_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 29 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-29 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-5 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-79 + Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_InternalCreditAssessmentAxis=us-gaap_PrimeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InternalCreditAssessmentAxis=twou_MidTierMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InternalCreditAssessmentAxis=us-gaap_SubprimeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |