v3.24.2.u1

Restructuring Charges - Schedule of Restructuring Charges by Reportable Segment (Details) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended
--- | --- | ---
Jun. 30, 2024 | Jun. 30, 2023 | Jun. 30, 2024 | Jun. 30, 2023
Degree Program Segment |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |
Total restructuring charges | $ 7,689 | $ 2,919 | $ 11,247 | $ 7,026
Degree Program Segment | Leadership and organizational structure changes |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |
Total restructuring charges | 5,349 | 0 | 6,489 | 0
Degree Program Segment | 2022 Strategic Realignment Plan |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |
Total restructuring charges | 1,956 | 2,546 | 3,967 | 6,273
Degree Program Segment | Severance and severance-related costs | Leadership and organizational structure changes |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |
Total restructuring charges | 3,951 | 0 | 5,091 | 0
Degree Program Segment | Severance and severance-related costs | 2022 Strategic Realignment Plan |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |
Total restructuring charges | 0 | 0 | 0 | 1,231
Degree Program Segment | Lease and lease-related charges | Leadership and organizational structure changes |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |
Total restructuring charges | 1,398 | 0 | 1,398 | 0
Degree Program Segment | Lease and lease-related charges | 2022 Strategic Realignment Plan |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |
Total restructuring charges | 1,956 | 2,129 | 3,967 | 4,272
Degree Program Segment | Professional and other fees relating to restructuring activities | 2022 Strategic Realignment Plan |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |
Total restructuring charges | 0 | 404 | 0 | 744
Degree Program Segment | Other | 2022 Strategic Realignment Plan |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |
Total restructuring charges | 0 | 13 | 0 | 26
Degree Program Segment | Other restructuring charges | Other restructuring charges |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |
Total restructuring charges | 384 | 373 | 791 | 753
Alternative Credential Segment |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |
Total restructuring charges | 717 | 703 | 1,886 | 1,471
Alternative Credential Segment | Leadership and organizational structure changes |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |
Total restructuring charges | 0 | 0 | 308 | 0
Alternative Credential Segment | 2022 Strategic Realignment Plan |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |
Total restructuring charges | 717 | 682 | 1,578 | 1,441
Alternative Credential Segment | Severance and severance-related costs | Leadership and organizational structure changes |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |
Total restructuring charges | 0 | 0 | 308 | 0
Alternative Credential Segment | Severance and severance-related costs | 2022 Strategic Realignment Plan |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |
Total restructuring charges | 0 | 0 | 0 | 0
Alternative Credential Segment | Lease and lease-related charges | Leadership and organizational structure changes |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |
Total restructuring charges | 0 | 0 | 0 | 0
Alternative Credential Segment | Lease and lease-related charges | 2022 Strategic Realignment Plan |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |
Total restructuring charges | 717 | 682 | 1,459 | 1,441
Alternative Credential Segment | Professional and other fees relating to restructuring activities | 2022 Strategic Realignment Plan |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |
Total restructuring charges | 0 | 0 | 119 | 0
Alternative Credential Segment | Other | 2022 Strategic Realignment Plan |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |
Total restructuring charges | 0 | 0 | 0 | 0
Alternative Credential Segment | Other restructuring charges | Other restructuring charges |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |
Total restructuring charges | $ 0 | $ 21 | $ 0 | $ 30

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://www.xbrl.org/2003/role/disclosureRef -Topic 420 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 5.P.4.d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479823/420-10-S99-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 420 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 5.P.4.b.1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479823/420-10-S99-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 420 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 5.P.4.b.2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479823/420-10-S99-2 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 420 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482017/420-10-50-1 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 420 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482017/420-10-50-1 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 420 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482017/420-10-50-1 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 420 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482017/420-10-50-1 + Details
Name: | us-gaap_RestructuringCostAndReserveLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after cash payment, of expenses associated with exit or disposal activities pursuant to an authorized plan. Excludes expenses related to a discontinued operation or an asset retirement obligation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 45 -Paragraph 28 -Subparagraph (b) -SubTopic 10 -Topic 230 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-28 + Details
Name: | us-gaap_RestructuringCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=twou_DegreeProgramSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RestructuringPlanAxis=twou_LeadershipAndOrganizationalStructureChangesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RestructuringPlanAxis=twou_A2022StrategicRealignmentPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RestructuringCostAndReserveAxis=us-gaap_EmployeeSeveranceMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RestructuringCostAndReserveAxis=twou_LeaseAndLeaseRelatedChargesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RestructuringCostAndReserveAxis=twou_ProfessionalAndOtherFeesRelatingToRestructuringActivitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RestructuringCostAndReserveAxis=twou_OtherMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RestructuringCostAndReserveAxis=twou_SeveranceAndSeveranceRelatedCostsAndLeaseRelatedChargesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RestructuringPlanAxis=twou_OtherRestructuringChargesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=twou_AlternativeCredentialSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |