v3.24.2.u1

Commitments and Contingencies - Narrative (Details) - USD ($) | Apr. 19, 2024 | Sep. 30, 2023
--- | --- | ---
Commitments and Contingencies Disclosure [Abstract] |  |
Plaintiff violation damages | $ 2,500 |
Purchase obligation |  | $ 30,000,000

X
- Definition Loss Contingency, Plaintiff Violation Damages + References No definition available. + Details
Name: | twou_LossContingencyPlaintiffViolationDamages
Namespace Prefix: | twou_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Definition Minimum amount of purchase arrangement in which the entity has agreed to expend funds to procure goods or services from a supplier. + References No definition available. + Details
Name: | us-gaap_PurchaseObligation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant