v3.10.0.1

Stockholders' Equity (Tables) | 9 Months Ended
--- | ---
Sep. 30, 2018
Stockholders' Equity Note [Abstract] |
Schedule of shares of common stock reserved for future issuance | As of September 30, 2018, the Company had reserved a total of 12,431,835 of its authorized shares of common stock for future issuance as follows:
Outstanding stock options | 4,097,480 |
Possible future issuance under 2014 Equity Incentive Plan | 6,139,677 |
Outstanding restricted stock units | 1,217,161 |
Available for future issuance under employee stock purchase plan | 977,517 |
Total shares of common stock reserved for future issuance | 12,431,835 |

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