XML 73 R60.htm IDEA: XBRL DOCUMENT
v3.26.1

Reportable Segments - Revenue and Total Assets by Geographic Area (Details) - Non-United States | 3 Months Ended | 12 Months Ended
--- | --- | ---
Mar. 31, 2026 | Mar. 31, 2025 | Dec. 31, 2025
Revenues and total assets by geographic area |  |  |
% of Revenue | 2.80% | 2.20% |
% of total assets | 3.20% |  | 3.40%

X
- Definition The percentage of revenue to total revenue. + References No definition available. + Details
Name: | prim_RevenuePercentage
Namespace Prefix: | prim_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The percentage of assets to total assets. + References No definition available. + Details
Name: | prim_TotalAssetsPercentage
Namespace Prefix: | prim_
Data Type: | dtr-types: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_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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