v3.19.3.a.u2

Stockholders' Equity (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2019
Stockholders' Equity Note [Abstract] |
Schedule of shares of common stock reserved for future issuance | As of December 31, 2019, the Company had reserved a total of 14,178,107 of its authorized shares of common stock for future issuance as follows:
Outstanding stock options | 4,373,895 |
Outstanding restricted stock units | 3,694,915 |
Available for future issuance under Amended and Restated 2014 Equity Incentive Plan | 5,296,333 |
Available for future issuance under 2017 Employee Stock Purchase Plan | 812,964 |
Total shares of common stock reserved for future issuance | 14,178,107 |

X
- Definition Tabular disclosure of shares of common stock reserved for future issuance. + References No definition available. + Details
Name: | twou_ScheduleOfSharesOfCommonStockReservedForFutureIssuanceTableTextBlock
Namespace Prefix: | twou_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

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