XML 82 R70.htm IDEA: XBRL DOCUMENT
v3.25.1

Long-Term Debt - Narrative (Details) |  |  |  |  |  | 6 Months Ended |  |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
May 05, 2025 USD ($) | Mar. 30, 2025 USD ($) $ / shares | Sep. 05, 2024 $ / shares | Aug. 22, 2023 USD ($) $ / shares | Feb. 18, 2022 USD ($) | Mar. 30, 2025 USD ($) $ / shares | Mar. 31, 2024 USD ($) | Sep. 29, 2024 USD ($) $ / shares | Oct. 01, 2023 USD ($) | Aug. 17, 2023 $ / shares | Oct. 26, 2022 USD ($)
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |
Repayments of secured debt |  |  |  |  |  | $ 15,000,000 | $ 110,000,000 |  |  |  |
Derivative, cap price per share (in dollars per share) | $ / shares |  |  | $ 259.56 | $ 51.91 |  |  |  | $ 51.89 |  |  |
Premium over reported sales price, percentage |  |  |  | 0.65 |  |  |  |  |  |  |
Common stock, reported sales price (in dollars per share) | $ / shares |  |  | $ 157.31 |  |  |  |  |  |  | $ 31.46 |
Deferred tax liabilities |  | $ 27,193,000 |  |  |  | 27,193,000 |  | $ 30,162,000 |  |  |
Bank overdrafts |  | 0 |  |  |  | 0 |  |  |  |  |
Convertible Debt |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |
Payments for capped calls |  |  |  | $ 51,800,000 |  |  |  |  |  |  |
Deferred tax liabilities |  |  |  |  |  |  |  |  | $ 12,900,000 |  |
Revolving Credit Facility |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |
Repayments of long-term lines of credit |  |  |  | 185,000,000 |  |  |  |  |  |  |
Amended Revolving Credit Facility |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |
Amount outstanding under credit facility |  | 200,000,000 |  |  |  | 200,000,000 |  |  |  |  |
Standby Letters of Credit |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |
Letters of credit outstanding, amount |  | 39,900,000 |  |  |  | 39,900,000 |  |  |  |  |
2028 Senior Notes | Convertible Debt |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |
Principal amount |  | $ 575,000,000 |  | $ 575,000,000 |  | $ 575,000,000 |  |  |  |  |
Stated interest percentage |  |  |  | 2.25% |  |  |  |  |  |  |
Conversion ratio |  | 0.02543820 | 0.0050855 | 0.02542750 |  |  |  |  |  |  |
Conversion price (in dollars per share) | $ / shares |  | $ 39.31 | $ 196.64 | $ 39.33 |  | $ 39.31 |  |  |  |  |
Redemption price, percentage |  |  |  | 100.00% |  |  |  |  |  |  |
Threshold percentage of stock price trigger |  |  |  | 130.00% |  |  |  |  |  |  |
Proceeds from convertible debt |  |  |  | $ 560,500,000 |  |  |  |  |  |  |
Interest rate, effective percentage |  |  |  | 2.79% |  |  |  |  |  |  |
Term Loan Facility Due 2027 |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |
Repayments of secured debt |  |  |  | $ 234,400,000 |  |  |  |  |  |  |
Term Loan Facility Due 2026 |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |
Repayments of secured debt |  |  |  | $ 89,400,000 |  |  |  |  |  |  |
Second Amended Credit Agreement |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |
Maximum borrowing capacity |  |  |  |  | $ 750,000,000 |  |  |  |  |  |
Accordion feature, higher borrowing capacity option |  |  |  |  | $ 1,050,000,000.00 |  |  |  |  |  |
Debt instrument term |  |  |  |  | 5 years |  |  |  |  |  |
Accordion feature, increase limit |  |  |  |  | $ 300,000,000 |  |  |  |  |  |
Second Amended Credit Agreement | Revolving Credit Facility |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |
Maximum borrowing capacity |  |  |  |  | $ 500,000,000 |  |  |  |  |  |
Second Amended Credit Agreement | Revolving Credit Facility | Base Rate | Secured Overnight Financing Rate (SOFR) |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |
Basis spread on variable rate |  |  |  |  | 1.00% |  |  |  |  |  |
Second Amended Credit Agreement | Revolving Credit Facility | Base Rate | Fed Funds Rate |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |
Basis spread on variable rate |  |  |  |  | 0.50% |  |  |  |  |  |
Second Amended Credit Agreement | Revolving Credit Facility | Minimum | Secured Overnight Financing Rate (SOFR) |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |
Basis spread on variable rate |  |  |  |  | 1.00% |  |  |  |  |  |
Second Amended Credit Agreement | Revolving Credit Facility | Minimum | Base Rate |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |
Basis spread on variable rate |  |  |  |  | 0.00% |  |  |  |  |  |
Second Amended Credit Agreement | Revolving Credit Facility | Maximum | Secured Overnight Financing Rate (SOFR) |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |
Basis spread on variable rate |  |  |  |  | 1.875% |  |  |  |  |  |
Second Amended Credit Agreement | Revolving Credit Facility | Maximum | Base Rate |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |
Basis spread on variable rate |  |  |  |  | 0.875% |  |  |  |  |  |
Second Amended Credit Agreement | Term Loan Facility |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |
Maximum borrowing capacity |  |  |  |  | $ 250,000,000 |  |  |  |  |  |
Second Amended Credit Agreement | Standby Letters of Credit |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |
Maximum borrowing capacity |  |  |  |  | 100,000,000 |  |  |  |  |  |
Second Amended Credit Agreement | Swingline Loan |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |
Maximum borrowing capacity |  |  |  |  | 20,000,000 |  |  |  |  |  |
Second Amended Credit Agreement | Multicurrency Borrowings and Letters of Credit |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |
Maximum borrowing capacity |  |  |  |  | $ 300,000,000 |  |  |  |  |  |
Amended Credit Agreement | New Term Loan Facility |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |
Maximum borrowing capacity |  |  |  |  |  |  |  |  |  |  | $ 500,000,000
Accordion feature, higher borrowing capacity option |  |  |  |  |  |  |  |  |  |  | $ 1,550,000,000
Other Credit Facilities |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |
Amount outstanding under credit facility |  | $ 0 |  |  |  | $ 0 |  |  |  |  |
Third Amended Credit Agreement |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |
Weighted average interest rate, at point in time |  | 5.78% |  |  |  | 5.78% |  |  |  |  |
Debt covenant, maximum consolidated leverage ratio |  |  |  |  | 3.25 |  |  |  |  |  |
Debt covenant, maximum consolidated leverage ratio |  |  |  |  | 3.00 |  |  |  |  |  |
Ratio of indebtedness to net capital |  | 1.63 |  |  |  | 1.63 |  |  |  |  |
Ratio of consolidated fixed charge coverage ratio |  | 15.81 |  |  |  | 15.81 |  |  |  |  |
Third Amended Credit Agreement | Revolving Credit Facility |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |
Remaining borrowing capacity |  | $ 299,300,000 |  |  |  | $ 299,300,000 |  |  |  |  |
Third Amended Credit Agreement | Standby Letters of Credit |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |
Letters of credit outstanding, amount |  | $ 700,000 |  |  |  | $ 700,000 |  |  |  |  |
Fourth Amended Restated Credit Agreement | Subsequent Event |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |
Accordion feature, higher borrowing capacity option | $ 1,500,000,000 |  |  |  |  |  |  |  |  |  |
Accordion feature, increase limit | $ 400,000,000 |  |  |  |  |  |  |  |  |  |
Line of credit, amortization of principal amount, year one, percent | 0.00% |  |  |  |  |  |  |  |  |  |
Line of credit, amortization of principal amount, year two, percent | 0.00% |  |  |  |  |  |  |  |  |  |
Line of credit, amortization of principal amount, year three, percent | 5.00% |  |  |  |  |  |  |  |  |  |
Line of credit, amortization of principal amount, year four, percent | 10.00% |  |  |  |  |  |  |  |  |  |
Line of credit, amortization of principal amount, year five, percent | 10.00% |  |  |  |  |  |  |  |  |  |
Fourth Amended Restated Credit Agreement | Revolving Credit Facility | Base Rate | Secured Overnight Financing Rate (SOFR) | Subsequent Event |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |
Basis spread on variable rate | 1.00% |  |  |  |  |  |  |  |  |  |
Fourth Amended Restated Credit Agreement | Revolving Credit Facility | Base Rate | Fed Funds Rate | Subsequent Event |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |
Basis spread on variable rate | 0.50% |  |  |  |  |  |  |  |  |  |
Fourth Amended Restated Credit Agreement | Revolving Credit Facility | Minimum | Secured Overnight Financing Rate (SOFR) | Subsequent Event |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |
Basis spread on variable rate | 1.00% |  |  |  |  |  |  |  |  |  |
Fourth Amended Restated Credit Agreement | Revolving Credit Facility | Minimum | Base Rate | Subsequent Event |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |
Basis spread on variable rate | 0.00% |  |  |  |  |  |  |  |  |  |
Fourth Amended Restated Credit Agreement | Revolving Credit Facility | Maximum | Secured Overnight Financing Rate (SOFR) | Subsequent Event |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |
Basis spread on variable rate | 1.75% |  |  |  |  |  |  |  |  |  |
Fourth Amended Restated Credit Agreement | Revolving Credit Facility | Maximum | Base Rate | Subsequent Event |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |
Basis spread on variable rate | 0.75% |  |  |  |  |  |  |  |  |  |
Fourth Amended Restated Credit Agreement | Amended Revolving Credit Facility | Subsequent Event |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |
Maximum borrowing capacity | $ 600,000,000 |  |  |  |  |  |  |  |  |  |
Fourth Amended Restated Credit Agreement | Term Loan Facility | Subsequent Event |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |
Maximum borrowing capacity | $ 1,100,000,000 |  |  |  |  |  |  |  |  |  |
Debt instrument term | 5 years |  |  |  |  |  |  |  |  |  |
Fourth Amended Restated Credit Agreement | Standby Letters of Credit | Subsequent Event |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |
Maximum borrowing capacity | $ 100,000,000 |  |  |  |  |  |  |  |  |  |
Fourth Amended Restated Credit Agreement | Swingline Loan | Subsequent Event |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |
Maximum borrowing capacity | 20,000,000 |  |  |  |  |  |  |  |  |  |
Fourth Amended Restated Credit Agreement | Multicurrency Borrowings and Letters of Credit | Subsequent Event |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |
Maximum borrowing capacity | 400,000,000 |  |  |  |  |  |  |  |  |  |
Fourth Amended Restated Credit Agreement | 5Y Term Loan Facility | Subsequent Event |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |
Maximum borrowing capacity | $ 250,000,000 |  |  |  |  |  |  |  |  |  |
Debt instrument term | 5 years |  |  |  |  |  |  |  |  |  |
Fourth Amended Restated Credit Agreement | 3Y Term Loan Facility | Subsequent Event |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |
Maximum borrowing capacity | $ 250,000,000 |  |  |  |  |  |  |  |  |  |
Debt instrument term | 3 years |  |  |  |  |  |  |  |  |  |
Fourth Amended Restated Credit Agreement | 3Y Term Loan Facility | Minimum | Secured Overnight Financing Rate (SOFR) | Subsequent Event |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |
Basis spread on variable rate | 0.875% |  |  |  |  |  |  |  |  |  |
Fourth Amended Restated Credit Agreement | 3Y Term Loan Facility | Maximum | Secured Overnight Financing Rate (SOFR) | Subsequent Event |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |
Basis spread on variable rate | 1.625% |  |  |  |  |  |  |  |  |  |

X
- Definition Cap Price, Premium Over Reported Sales Price, Percentage + References No definition available. + Details
Name: | ttek_CapPricePremiumOverReportedSalesPricePercentage
Namespace Prefix: | ttek_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | instant

X
- Definition Common Stock, Reported Sales Price + References No definition available. + Details
Name: | ttek_CommonStockReportedSalesPrice
Namespace Prefix: | ttek_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Derivative, Cap Price Per Share + References No definition available. + Details
Name: | ttek_DerivativeCapPricePerShare
Namespace Prefix: | ttek_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Line of Credit, Amortization of Principal Amount, Year Five, Percent + References No definition available. + Details
Name: | ttek_LineOfCreditAmortizationOfPrincipalAmountYearFivePercent
Namespace Prefix: | ttek_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Line of Credit, Amortization of Principal Amount, Year Four, Percent + References No definition available. + Details
Name: | ttek_LineOfCreditAmortizationOfPrincipalAmountYearFourPercent
Namespace Prefix: | ttek_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Line of Credit, Amortization of Principal Amount, Year One, Percent + References No definition available. + Details
Name: | ttek_LineOfCreditAmortizationOfPrincipalAmountYearOnePercent
Namespace Prefix: | ttek_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Line of Credit, Amortization of Principal Amount, Year Three, Percent + References No definition available. + Details
Name: | ttek_LineOfCreditAmortizationOfPrincipalAmountYearThreePercent
Namespace Prefix: | ttek_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Line of Credit, Amortization of Principal Amount, Year Two, Percent + References No definition available. + Details
Name: | ttek_LineOfCreditAmortizationOfPrincipalAmountYearTwoPercent
Namespace Prefix: | ttek_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Line Of Credit Facility, Accordion Feature, Higher Borrowing Capacity Option + References No definition available. + Details
Name: | ttek_LineOfCreditFacilityAccordionFeatureHigherBorrowingCapacityOption
Namespace Prefix: | ttek_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Line Of Credit Facility, Accordion Feature, Increase Limit + References No definition available. + Details
Name: | ttek_LineOfCreditFacilityAccordionFeatureIncreaseLimit
Namespace Prefix: | ttek_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Line Of Credit Facility, Covenant, Consolidated Interest Coverage Ratio, Minimum + References No definition available. + Details
Name: | ttek_LineOfCreditFacilityCovenantConsolidatedInterestCoverageRatioMinimum
Namespace Prefix: | ttek_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | instant

X
- Definition Line Of Credit Facility, Covenant, Consolidated Leverage Ratio, Maximum + References No definition available. + Details
Name: | ttek_LineOfCreditFacilityCovenantConsolidatedLeverageRatioMaximum
Namespace Prefix: | ttek_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | instant

X
- Definition Payments for Capped Calls + References No definition available. + Details
Name: | ttek_PaymentsForCappedCalls
Namespace Prefix: | ttek_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Represents the consolidated fixed charge coverage ratio as defined by the loan agreement. + References No definition available. + Details
Name: | ttek_RatioOfConsolidatedFixedChargeCoverageRatio
Namespace Prefix: | ttek_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | instant

X
- Definition Carrying value as of the balance sheet date of payments made in excess of existing cash balances, which will be honored by the bank but reflected as a loan to the entity. Overdrafts generally have a very short time frame for correction or repayment and are therefore more similar to short-term bank financing than trade financing. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(20)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section 45 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481573/470-10-45-10 + Details
Name: | us-gaap_BankOverdrafts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The price per share of the conversion feature embedded in the debt instrument. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-5 + Details
Name: | us-gaap_DebtInstrumentConvertibleConversionPrice1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Ratio applied to the conversion of debt instrument into equity with equity shares divided by debt principal amount. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(a)(5)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-3 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-7 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-6 + Details
Name: | us-gaap_DebtInstrumentConvertibleConversionRatio1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Definition Minimum percentage of common stock price to conversion price of convertible debt instruments to determine eligibility of conversion. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentConvertibleThresholdPercentageOfStockPriceTrigger
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482949/835-30-55-8 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69B -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69B Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69C -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69C Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482900/835-30-50-1 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-2 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Effective interest rate for the funds borrowed under the debt agreement considering interest compounding and original issue discount or premium. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482949/835-30-55-8 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(a)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482900/835-30-50-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-2 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-6 + Details
Name: | us-gaap_DebtInstrumentInterestRateEffectivePercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(a)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Percentage price of original principal amount of debt at which debt can be redeemed by the issuer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 470 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477734/942-470-50-3 + Details
Name: | us-gaap_DebtInstrumentRedemptionPricePercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period of time between issuance and maturity of debt instrument, in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences with jurisdictional netting. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(15)(b)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478777/944-210-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482525/740-10-45-4 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482525/740-10-45-6 + Details
Name: | us-gaap_DeferredIncomeTaxLiabilitiesNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The total amount of the contingent obligation under letters of credit outstanding as of the reporting date. + References No definition available. + Details
Name: | us-gaap_LettersOfCreditOutstandingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The carrying value as of the balance sheet date of the current and noncurrent portions 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://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -SubTopic 10 -Topic 210 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)(a)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478777/944-210-S99-1 + Details
Name: | us-gaap_LineOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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 Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481544/470-10-50-6 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481544/470-10-50-6 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(f)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-1 + Details
Name: | us-gaap_LineOfCreditFacilityLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(19)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of borrowing capacity currently available under the credit facility (current borrowing capacity less the amount of borrowings outstanding). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481544/470-10-50-6 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(19)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Weighted average interest rate of long-term debt outstanding calculated at point in time. + References No definition available. + Details
Name: | us-gaap_LongtermDebtWeightedAverageInterestRate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The cash inflow from the issuance of a long-term debt instrument which can be exchanged for a specified amount of another security, typically the entity's common stock, at the option of the issuer or the holder. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-14 + Details
Name: | us-gaap_ProceedsFromConvertibleDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Indebtedness divided by net capital. + References No definition available. + Details
Name: | us-gaap_RatioOfIndebtednessToNetCapital1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:pureItemType
Balance Type: | na
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://fasb.org/us-gaap/role/ref/legacyRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 15 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-15 + Details
Name: | us-gaap_RepaymentsOfLongTermLinesOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash outflow to repay long-term debt that is wholly or partially secured by collateral. Excludes repayments of tax exempt secured debt. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 15 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-15 + Details
Name: | us-gaap_RepaymentsOfSecuredDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_ConvertibleDebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

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

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

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

X
- Details
Name: | us-gaap_DebtInstrumentAxis=ttek_SecondAmendedCreditAgreementMember
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: | ttek_VariableRateComponentAxis=us-gaap_SecuredOvernightFinancingRateSofrMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

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

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

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

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

X
- Details
Name: | us-gaap_DebtInstrumentAxis=ttek_FourthAmendedRestatedCreditAgreementMember
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_CreditFacilityAxis=ttek_A5YTermLoanFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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