v3.24.2.u1

Receivables and Contract Liabilities - Other Receivables (Details) - USD ($) $ in Thousands | Jun. 30, 2024 | Dec. 31, 2023
--- | --- | ---
Receivables And Contract Liabilities Disclosure [Abstract] |  |
Other receivables, amortized cost | $ 48,642 | $ 49,358
Less: Provision for credit losses | (9,476) | (8,558)
Other receivables, net | 39,166 | 40,800
Other receivables, net, current | 23,819 | 28,293
Other receivables, net, non-current | $ 15,347 | $ 12,507

X
- Definition Other Receivables Allowance For Credit Loss + References No definition available. + Details
Name: | twou_OtherReceivablesAllowanceForCreditLoss
Namespace Prefix: | twou_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

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

X
- Definition Receivables And Contract Liabilities Disclosure + References No definition available. + Details
Name: | twou_ReceivablesAndContractLiabilitiesDisclosureAbstract
Namespace Prefix: | twou_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount due from parties in nontrade transactions, classified as other. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 49 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482785/280-10-55-49 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(5)(a)(5)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(3)(a)(4)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(3)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478777/944-210-S99-1 + Details
Name: | us-gaap_OtherReceivables
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after allowance, of receivables classified as other, due within one year or the operating cycle, if longer. + References No definition available. + Details
Name: | us-gaap_OtherReceivablesNetCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant