XML 95 R78.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Segment and Geographical Information - Property and Equipment, Net and Operating Lease Assets, Presented by Principal Geographic Area (Detail) - USD ($) $ in Thousands | Dec. 31, 2021 | Dec. 31, 2020
--- | --- | ---
Revenues From External Customers And Long Lived Assets [Line Items] |  |
Property and equipment, net and operating lease assets | $ 369,947 | $ 364,006
US |  |
Revenues From External Customers And Long Lived Assets [Line Items] |  |
Property and equipment, net and operating lease assets | 282,650 | 263,891
International |  |
Revenues From External Customers And Long Lived Assets [Line Items] |  |
Property and equipment, net and operating lease assets | $ 87,297 | $ 100,115

X
- Definition Property and equipment, net and operating lease assets. + References No definition available. + Details
Name: | ttd_PropertyAndEquipmentNetAndOperatingLeaseAssets
Namespace Prefix: | ttd_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | srt_StatementGeographicalAxis=country_US
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=us-gaap_NonUsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |