XML 75 R64.htm IDEA: XBRL DOCUMENT
v3.25.2

Reportable Segments - Revenue and Total Assets by Geographic Area (Details) - Non-United States | 6 Months Ended | 12 Months Ended
--- | --- | ---
Jun. 30, 2025 | Jun. 30, 2024 | Dec. 31, 2024
Revenues and total assets by geographic area |  |  |
% of Revenue | 2.30% | 5.40% |
% of total assets | 3.40% |  | 4.00%

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: |