XML 66 R52.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Debt - Additional Information (Detail) - USD ($) |  | 1 Months Ended | 12 Months Ended |
--- | --- | --- | --- | ---
May 09, 2017 | Jan. 31, 2018 | Dec. 31, 2016 | Dec. 31, 2015 | Dec. 31, 2017
Long-term debt: |  |  |  |  |
Outstanding debt |  |  | $ 25,847,000 |  | $ 27,000,000
Repayment of outstanding principal and accrued interest |  |  | 65,000,000 | $ 15,000,000 |
Revolving credit facility |  |  |  |  |
Long-term debt: |  |  |  |  |
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 available amount | $ 168,100,000 |  |  |  |
Percentage of lesser of aggregate revolving commitments and borrowing base for excess availability of credit facility | 12.50% |  |  |  |
Minimum consolidated fixed charge coverage ratio | 115.00% |  |  |  |
Credit facility, maturity | May 09, 2022 |  |  |  |
Outstanding debt |  |  |  |  | $ 27,000,000
Weighted average interest rate |  |  |  |  | 3.60%
Revolving credit facility | Subsequent Event |  |  |  |  |
Long-term debt: |  |  |  |  |
Repayment of outstanding principal and accrued interest |  | $ 27,100,000 |  |  |
Revolving credit facility | Minimum |  |  |  |  |
Long-term debt: |  |  |  |  |
Credit Facility, fee for undrawn amounts | 0.325% |  |  |  |
Revolving credit facility | Maximum |  |  |  |  |
Long-term debt: |  |  |  |  |
Credit Facility, fee for undrawn amounts | 0.375% |  |  |  |
Amount of excess availability under revolving credit facility required based on facility covenants | $ 15,000,000 |  |  |  |
Revolving credit facility | Federal Funds Rate |  |  |  |  |
Long-term debt: |  |  |  |  |
Credit Facility, interest rate above base rate | 0.50% |  |  |  |
Revolving credit facility | LIBOR |  |  |  |  |
Long-term debt: |  |  |  |  |
Credit Facility, interest rate above base rate | 2.00% |  |  |  |
Revolving credit facility | LIBOR | Minimum |  |  |  |  |
Long-term debt: |  |  |  |  |
Credit Facility, interest rate above base rate | 2.00% |  |  |  |
Revolving credit facility | LIBOR | Maximum |  |  |  |  |
Long-term debt: |  |  |  |  |
Credit Facility, interest rate above base rate | 2.50% |  |  |  |
Revolving credit facility | Base Rate | Minimum |  |  |  |  |
Long-term debt: |  |  |  |  |
Credit Facility, interest rate above base rate | 1.00% |  |  |  |
Revolving credit facility | Base Rate | Maximum |  |  |  |  |
Long-term debt: |  |  |  |  |
Credit Facility, interest rate above base rate | 1.50% |  |  |  |
Swingline Borrowings | Revolving credit facility |  |  |  |  |
Long-term debt: |  |  |  |  |
Credit facility, borrowing capacity | $ 20,000,000 |  |  |  |
Letter of Credit | Revolving credit facility |  |  |  |  |
Long-term debt: |  |  |  |  |
Credit facility, borrowing capacity | $ 15,000,000 |  |  |  |
Prior Debt Facility |  |  |  |  |
Long-term debt: |  |  |  |  |
Liquidation fee upon completion of IPO |  |  | $ 800,000 |  |

X
- Definition The charge against earnings during the period for a fee resulting from the occurrence of a liquidity event, per the terms of a debt agreement. + References No definition available. + Details
Name: | ttd_DebtInstrumentLiquidationFee
Namespace Prefix: | ttd_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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 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_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
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 Weighted average interest rate of debt outstanding. + References No definition available. + Details
Name: | us-gaap_DebtWeightedAverageInterestRate
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

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 Amount of current borrowing capacity under the credit facility considering any current restrictions on the amount that could be borrowed (for example, borrowings may be limited by the amount of current assets), but without considering any 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_LineOfCreditFacilityCurrentBorrowingCapacity
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 The carrying value as of the balance sheet date of the noncurrent portion of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement. + 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) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section 45 -Paragraph 13 -URI http://asc.fasb.org/extlink&oid=99376301&loc=d3e1314-112600 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section 45 -Paragraph 14 -URI http://asc.fasb.org/extlink&oid=99376301&loc=d3e1336-112600 + Details
Name: | us-gaap_LongTermLineOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The cash outflow for the settlement of obligation drawn from a contractual arrangement with the lender, including letter of credit, standby letter of credit and revolving credit arrangements, under which borrowings can be made up to a specific amount at any point in time with maturities due beyond one year or the operating cycle, if longer. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3291-108585 + Details
Name: | us-gaap_RepaymentsOfLongTermLinesOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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_RangeAxis=us-gaap_MinimumMember
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_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_VariableRateAxis=us-gaap_BaseRateMember
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: |

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