v3.20.2

Stockholders' Equity - Common Stock and Stock-based Compensation (Details) $ in Thousands |  | 3 Months Ended | 9 Months Ended |  |  |  |  |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Aug. 06, 2020 USD ($) shares | Jun. 30, 2020 USD ($) shares | Sep. 30, 2019 USD ($) shares | Sep. 30, 2020 USD ($) plan shares | Sep. 30, 2019 USD ($) shares | Mar. 31, 2020 shares | Jan. 01, 2020 shares | Dec. 31, 2019 shares | Jun. 30, 2019 shares | Mar. 31, 2019 shares | Jan. 01, 2019 shares | Dec. 31, 2018 shares
Stockholders' Equity |  |  |  |  |  |  |  |  |  |  |  |
Proceeds from issuance of common stock, net of offering costs | $ | $ 299,800 |  |  | $ 299,796 | $ 0 |  |  |  |  |  |  |
Authorized shares of capital stock (in shares) |  |  |  | 205,000,000 |  |  |  |  |  |  |  |
Authorized shares of common stock (in shares) |  |  |  | 200,000,000 |  |  |  | 200,000,000 |  |  |  |
Authorized shares of preferred stock (in shares) |  |  |  | 5,000,000 |  |  |  | 5,000,000 |  |  |  |
Common stock, outstanding (in shares) |  |  |  | 71,294,706 |  |  |  | 63,569,109 |  |  |  |
Available shares of common stock reserved for future issuance (in shares) |  |  |  | 26,355,976 |  |  |  |  |  |  |  |
Number of stock-based compensation plans | plan |  |  |  | 2 |  |  |  |  |  |  |  |
Issuance of common stock in connection with employee stock purchase plan | $ |  | $ 1,771 | $ 1,895 |  |  |  |  |  |  |  |  |
Common Stock |  |  |  |  |  |  |  |  |  |  |  |
Stockholders' Equity |  |  |  |  |  |  |  |  |  |  |  |
Sale of common stock (in shares) | 6,800,000 |  |  |  |  |  |  |  |  |  |  |
Common stock, outstanding (in shares) |  | 64,300,599 | 63,388,705 | 71,294,706 | 63,388,705 | 63,703,067 |  | 63,569,109 | 63,231,376 | 58,189,318 |  | 57,968,493
Issuance of common stock in connection with employee stock purchase plan (in shares) |  | 83,573 | 54,485 | 83,573 |  |  |  |  |  |  |  |
Issuance of common stock in connection with employee stock purchase plan | $ |  |  |  | $ 1,800 |  |  |  |  |  |  |  |
Restricted Stock Units (RSUs) |  |  |  |  |  |  |  |  |  |  |  |
Stockholders' Equity |  |  |  |  |  |  |  |  |  |  |  |
Available shares of common stock reserved for future issuance (in shares) |  |  |  | 3,431,829 |  |  |  |  |  |  |  |
Performance restricted stock units |  |  |  |  |  |  |  |  |  |  |  |
Stockholders' Equity |  |  |  |  |  |  |  |  |  |  |  |
Available shares of common stock reserved for future issuance (in shares) |  |  |  | 1,760,164 |  |  |  |  |  |  |  |
Stock options |  |  |  |  |  |  |  |  |  |  |  |
Stockholders' Equity |  |  |  |  |  |  |  |  |  |  |  |
Available shares of common stock reserved for future issuance (in shares) |  |  |  | 4,023,741 |  |  |  |  |  |  |  |
Convertible debt securities |  |  |  |  |  |  |  |  |  |  |  |
Stockholders' Equity |  |  |  |  |  |  |  |  |  |  |  |
Available shares of common stock reserved for future issuance (in shares) |  |  |  | 17,140,242 |  |  |  |  |  |  |  |
Employee Stock |  |  |  |  |  |  |  |  |  |  |  |
Stockholders' Equity |  |  |  |  |  |  |  |  |  |  |  |
Available shares of common stock reserved for future issuance (in shares) |  |  |  | 729,391 |  |  |  |  |  |  |  |
Equity Incentive Plan 2014 |  |  |  |  |  |  |  |  |  |  |  |
Stockholders' Equity |  |  |  |  |  |  |  |  |  |  |  |
Increase in shares in available for future issuance |  |  |  |  |  |  | 3,175,011 |  |  |  | 2,896,365 |

X
- Definition The maximum number of shares of capital stock permitted to be issued by the entity's charter and bylaws. + References No definition available. + Details
Name: | twou_CapitalStockSharesAuthorized
Namespace Prefix: | twou_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Common Stock, Capital Shares Reserved for Future Issuance, Increase In Shares + References No definition available. + Details
Name: | twou_CommonStockCapitalSharesReservedForFutureIssuanceIncreaseInShares
Namespace Prefix: | twou_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Share-Based Compensation Arrangement By Share-Based Payment Award, Number Of Compensation Plans + References No definition available. + Details
Name: | twou_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfCompensationPlans
Namespace Prefix: | twou_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Aggregate number of common shares reserved for future issuance. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.29) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockCapitalSharesReservedForFutureIssuance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The maximum number of common shares permitted to be issued by an entity's charter and bylaws. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockSharesOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The maximum number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) permitted to be issued by an entity's charter and bylaws. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_PreferredStockSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The cash inflow from the additional capital contribution to the entity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromIssuanceOfCommonStock
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The number of shares issued or sold by the subsidiary or equity method investee per stock transaction. + References No definition available. + Details
Name: | us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares issued during the period as a result of an employee stock purchase plan. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Aggregate change in value for stock issued during the period as a result of employee stock purchase plan. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644 + Details
Name: | us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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 No definition available. + Details
Name: | us-gaap_SubsidiarySaleOfStockLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_CommonStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_RestrictedStockUnitsRSUMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=twou_PerformanceRestrictedStockUnitsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_EmployeeStockOptionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_ConvertibleDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_EmployeeStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PlanNameAxis=twou_EquityIncentivePlan2014Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |