v3.24.2.u1

Receivables and Contract Liabilities - Change in Provision for Credit Losses for Other Receivables (Details) $ in Thousands | 6 Months Ended
--- | ---
Jun. 30, 2024 USD ($)
Other Receivable, Allowance for Credit Loss [Roll Forward] |
Balance as of December 31, 2023 | $ 8,558
Current period provision | 918
Balance as of June 30, 2024 | $ 9,476

X
- Definition Other Receivable, Allowance for Credit Loss + References No definition available. + Details
Name: | twou_OtherReceivableAllowanceForCreditLossRollForward
Namespace Prefix: | twou_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Other Receivable, Credit Loss Expense (Reversal) + References No definition available. + Details
Name: | twou_OtherReceivableCreditLossExpenseReversal
Namespace Prefix: | twou_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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