v3.8.0.1

Stockholders' Equity (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2017
Stockholders' Equity |
Schedule of shares of common stock reserved for future issuance | At December 31, 2017, the Company had reserved a total of 11,388,192 of its authorized shares of common stock for future issuance as follows:
Outstanding stock options |  |  | 4,559,176 |
Possible future issuance under 2014 Equity Incentive Plan |  |  | 4,415,593 |
Outstanding restricted stock units |  |  | 1,413,423 |
Available for future issuance under employee stock purchase plan |  |  | 1,000,000 |
​ | ​ | ​ | ​ | ​
Total shares of common stock reserved for future issuance |  |  | 11,388,192 |
​ | ​ | ​ | ​ | ​
​ | ​ | ​ | ​ | ​

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