v2.4.0.8

Redeemable Convertible Preferred Stock (Details) (USD $) In Thousands, except Share data, unless otherwise specified | 0 Months Ended | 6 Months Ended | 1 Months Ended | 6 Months Ended |  | 1 Months Ended | 6 Months Ended |  | 1 Months Ended | 6 Months Ended |  | 1 Months Ended | 6 Months Ended |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Apr. 02, 2014 | Jun. 30, 2014 | Jun. 30, 2009 Series A | Jun. 30, 2014 Series A | Dec. 31, 2013 Series A | Feb. 28, 2010 Series B | Jun. 30, 2014 Series B | Dec. 31, 2013 Series B | Mar. 31, 2011 Series C | Jun. 30, 2014 Series C | Dec. 31, 2013 Series C | Jan. 31, 2013 Series D | Mar. 31, 2012 Series D | Jun. 30, 2014 Series D | Dec. 31, 2013 Series D
Issuances of redeemable convertible preferred stock |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Purchase Price per Share (in dollars per share) | $ 13.00 |  | $ 1.27 |  |  | $ 4.46 |  |  | $ 7.34 |  |  | $ 7.81 | $ 7.81 |  |
Number of Shares |  |  | 10,033,976 | 0 | 10,033,976 | 5,057,901 | 0 | 5,057,901 | 4,429,601 | 0 | 4,429,601 | 639,828 | 3,339,902 | 0 | 3,979,730
Conversion Price per Share (in dollars per share) |  |  | $ 1.27 |  |  | $ 4.46 |  |  | $ 7.34 |  |  | $ 7.81 | $ 7.81 |  |
Summary of activity for the Preferred Stock issued and outstanding |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Balance at the beginning of the period |  | $ 98,047 |  | $ 12,384 |  |  | $ 22,210 |  |  | $ 32,405 |  |  |  | $ 31,048 |
Accretion of issuance costs on redeemable convertible preferred stock |  | 89 |  | 36 |  |  | 36 |  |  | 12 |  |  |  | 5 |
Conversion of preferred stock into common stock |  | $ (98,136) |  | $ (12,420) |  |  | $ (22,246) |  |  | $ (32,417) |  |  |  | $ (31,053) |
Redeemable convertible preferred stock converted into shares of common stock | 23,501,208 |  |  |  |  |  |  |  |  |  |  |  |  |  |

X
- Definition Represents the conversion of temporary equity securities into permanent equity. + References No definition available. + Details
Name: | twou_TemporaryEquityConversionOfConvertibleSecurities
Namespace Prefix: | twou_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The conversion price per share of temporary equity. + References No definition available. + Details
Name: | twou_TemporaryEquityConversionPricePerShare
Namespace Prefix: | twou_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of new shares issued in the conversion of stock in a noncash (or part noncash) transaction. Noncash is defined as transactions during a period that do not result in cash receipts or cash payments in the period. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4332-108586 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4313-108586 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4304-108586 + Details
Name: | us-gaap_ConversionOfStockSharesIssued1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_IncreaseDecreaseInTemporaryEquityRollForward
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount per share or per unit of equity securities issued by non-development stage entity. + References No definition available. + Details
Name: | us-gaap_SharesIssuedPricePerShare
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Value of accretion of temporary equity to its redemption value during the period. + References No definition available. + Details
Name: | us-gaap_TemporaryEquityAccretionToRedemptionValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Carrying amount, attributable to parent, of an entity's issued and outstanding stock which is not included within permanent equity. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. Includes stock with a put option held by an ESOP and stock redeemable by a holder only in the event of a change in control of the issuer. + References No definition available. + Details
Name: | us-gaap_TemporaryEquityCarryingAmountAttributableToParent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_TemporaryEquityLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of securities classified as temporary equity that have been sold (or granted) to the entity's shareholders. Securities issued include securities outstanding and securities held in treasury. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. If convertible, the issuer does not control the actions or events necessary to issue the maximum number of shares that could be required to be delivered under the conversion option if the holder exercises the option to convert the stock to another class of equity. If the security is a warrant or a rights issue, the warrant or rights issue is considered to be temporary equity if the issuer cannot demonstrate that it would be able to deliver upon the exercise of the option by the holder in all cases. Includes stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.27(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 28 -Subparagraph b -Article 5 + Details
Name: | us-gaap_TemporaryEquitySharesIssued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant