XML 55 R39.htm IDEA: XBRL DOCUMENT
v3.7.0.1

Subsequent Event - Additional Information (Detail) - Revolving credit facility - Subsequent Event | May 09, 2017 USD ($)
--- | ---
Subsequent Event [Line Items] |
Credit facility, increase in aggregate principal amount of commitments available | $ 75,000,000
Credit facility, borrowing capacity | 200,000,000
Credit Facility additional borrowing amount | $ 100,000,000
Credit Facility, maturity | May 09, 2022
Minimum consolidated fixed charge coverage ratio | 1.15%
Percentage of lesser of aggregate revolving commitments and borrowing base for excess availability of credit facility | 12.50%
Federal Funds Rate |
Subsequent Event [Line Items] |
Credit Facility, interest rate above base rate | 0.50%
LIBOR |
Subsequent Event [Line Items] |
Credit Facility, interest rate above base rate | 2.00%
Minimum |
Subsequent Event [Line Items] |
Credit Facility, fee for undrawn amounts | 0.325%
Minimum | LIBOR |
Subsequent Event [Line Items] |
Credit Facility, interest rate above base rate | 2.00%
Minimum | Base Rate |
Subsequent Event [Line Items] |
Credit Facility, interest rate above base rate | 1.00%
Maximum |
Subsequent Event [Line Items] |
Credit Facility, fee for undrawn amounts | 0.375%
Amount of excess availability under revolving credit facility required based on facility covenants | $ 15,000,000
Maximum | LIBOR |
Subsequent Event [Line Items] |
Credit Facility, interest rate above base rate | 2.50%
Maximum | Base Rate |
Subsequent Event [Line Items] |
Credit Facility, interest rate above base rate | 1.50%
Swingline Borrowings |
Subsequent Event [Line Items] |
Credit facility, borrowing capacity | $ 20,000,000
Letter of Credit |
Subsequent Event [Line Items] |
Credit facility, borrowing capacity | $ 15,000,000

X
- Definition Line Of Credit Additional Borrowing Capacity + References No definition available. + Details
Name: | ttd_LineOfCreditAdditionalBorrowingCapacity
Namespace Prefix: | ttd_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Line of credit facility amount of excess availability under credit facility required based on facility covenants. + References No definition available. + Details
Name: | ttd_LineOfCreditFacilityAmountOfExcessAvailabilityUnderCreditFacilityRequiredBasedOnFacilityCovenants
Namespace Prefix: | ttd_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Minimum consolidated fixed charge coverage ratio required to be maintained by the entity under the terms of the credit facility agreement. + References No definition available. + Details
Name: | ttd_LineOfCreditFacilityCovenantRatio
Namespace Prefix: | ttd_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line of credit facility percentage of lesser of aggregate revolving commitments and borrowing base for excess availability of credit facility. + References No definition available. + Details
Name: | ttd_LineOfCreditFacilityPercentageOfLesserOfAggregateRevolvingCommitmentsAndBorrowingBaseForExcessAvailabilityOfCreditFacility
Namespace Prefix: | ttd_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Line Of Credit Increase In Borrowing Capacity + References No definition available. + Details
Name: | ttd_LineOfCreditIncreaseInBorrowingCapacity
Namespace Prefix: | ttd_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Date when the debt instrument is scheduled to be fully repaid, in CCYY-MM-DD format. + 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.22(a)(2)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentMaturityDate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition The maximum amount of borrowing capacity under a line of credit that is available as of the balance sheet date for a specific purpose other than for financing goods acquired for inventory or imminent delivery to a customer. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityCapacityAvailableForSpecificPurposeOtherThanForTradePurchases
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + 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.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The fee, expressed as a percentage of the line of credit facility, for available but unused credit capacity under the credit facility. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Detail information of subsequent event by type. User is expected to use existing line items from elsewhere in the taxonomy as the primary line items for this disclosure, which is further associated with dimension and member elements pertaining to a subsequent event. + References No definition available. + Details
Name: | us-gaap_SubsequentEventLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_RevolvingCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_FederalFundsEffectiveSwapRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_LondonInterbankOfferedRateLIBORMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_BaseRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=ttd_SwinglineBorrowingsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=us-gaap_LetterOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |