v3.22.4

Leases (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2022
Leases [Abstract] |
Lease, Cost | The components of lease cost were as follows (in thousands):
| Year Ended December 31,
| 2022 |  | 2021
Operating lease cost | $ | 6,876 |  |  | $ | 2,104 |
Finance lease cost - amortization of right-of-use assets | 174 |  |  | 14 |
Finance lease cost - interest on lease liabilities | 18 |  |  | 2 |
Total lease cost | $ | 7,068 |  |  | $ | 2,120 |
Supplemental cash flow information related to leases was as follows (in thousands):
| Year Ended December 31,
| 2022 |  | 2021
Cash paid for amounts included in measurement of lease liabilities: |  |  |
Operating cash outflows - payments on operating leases | $ | 5,015 |  |  | $ | 2,283 |
Right-of-use assets obtained in exchange for new lease obligations: |  |  |
Operating leases | $ | 10,424 |  |  | $ | 20,887 |
Finance leases | $ | — |  |  | $ | 869 |
Assets and Liabilities, Lessee | Supplemental balance sheet information related to leases was as follows (in thousands):
| December 31,
| 2022 |  | 2021
Operating leases |  |  |
Operating lease right-of-use assets | $ | 26,206 |  |  | $ | 21,613 |
Operating lease liabilities, current | $ | 5,676 |  |  | $ | 3,864 |
Operating lease liabilities, non-current | 20,915 |  |  | 17,842 |
Total operating lease liabilities | $ | 26,591 |  |  | $ | 21,706 |
Finance leases |  |  |
Furniture and fixtures | $ | 869 |  |  | $ | 869 |
Accumulated depreciation | (188) |  |  | (14) |
Furniture and fixtures, net | $ | 681 |  |  | $ | 855 |
Accrued liabilities | $ | 125 |  |  | $ | 119 |
Other liabilities, non-current | 616 |  |  | 741 |
Total finance lease liabilities | $ | 741 |  |  | $ | 860 |
Other information related to leases was as follows:
| December 31,
| 2022 |  | 2021
Weighted-average remaining lease term: |  |  |
Operating leases | 4.6 years |  | 6.0 years
Finance leases | 5.3 years |  | 6.3 years
Weighted-average discount rate: |  |  |
Operating leases | 3.22 | % |  | 2.20 | %
Finance leases | 2.24 | % |  | 2.24 | %
Lessee, Operating Lease, Liability, Maturity | As of December 31, 2022, the maturities of lease liabilities under operating and finance leases were as follows (in thousands):
| Operating Leases |  | Finance Leases |  | Total
Year ending December 31, |  |  |  |  |
2023 | $ | 6,440 |  |  | $ | 140 |  |  | $ | 6,580 |
2024 | 6,499 |  |  | 145 |  |  | 6,644 |
2025 | 5,129 |  |  | 149 |  |  | 5,278 |
2026 | 5,347 |  |  | 153 |  |  | 5,500 |
2027 | 4,256 |  |  | 158 |  |  | 4,414 |
Thereafter | 980 |  |  | 41 |  |  | 1,021 |
Total minimum lease payments | 28,651 |  |  | 786 |  |  | 29,437 |
Less: imputed interest | (2,060) |  |  | (45) |  |  | (2,105) |
Total present value of lease liabilities | $ | 26,591 |  |  | $ | 741 |  |  | $ | 27,332 |
Finance Lease, Liability, Fiscal Year Maturity | As of December 31, 2022, the maturities of lease liabilities under operating and finance leases were as follows (in thousands):
| Operating Leases |  | Finance Leases |  | Total
Year ending December 31, |  |  |  |  |
2023 | $ | 6,440 |  |  | $ | 140 |  |  | $ | 6,580 |
2024 | 6,499 |  |  | 145 |  |  | 6,644 |
2025 | 5,129 |  |  | 149 |  |  | 5,278 |
2026 | 5,347 |  |  | 153 |  |  | 5,500 |
2027 | 4,256 |  |  | 158 |  |  | 4,414 |
Thereafter | 980 |  |  | 41 |  |  | 1,021 |
Total minimum lease payments | 28,651 |  |  | 786 |  |  | 29,437 |
Less: imputed interest | (2,060) |  |  | (45) |  |  | (2,105) |
Total present value of lease liabilities | $ | 26,591 |  |  | $ | 741 |  |  | $ | 27,332 |

X
- Definition Assets And Liabilities, Lessee + References No definition available. + Details
Name: | pubm_AssetsAndLiabilitiesLesseeTableTextBlock
Namespace Prefix: | pubm_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of undiscounted cash flows of finance lease liability. Includes, but is not limited to, reconciliation of undiscounted cash flows to finance lease liability recognized in statement of financial position. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 6 -URI https://asc.fasb.org/extlink&oid=128292326&loc=SL77918701-209980 + Details
Name: | us-gaap_FinanceLeaseLiabilityMaturityTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of lessee's lease cost. Includes, but is not limited to, interest expense for finance lease, amortization of right-of-use asset for finance lease, operating lease cost, short-term lease cost, variable lease cost and sublease income. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980 + Details
Name: | us-gaap_LeaseCostTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_LeasesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of undiscounted cash flows of lessee's operating lease liability. Includes, but is not limited to, reconciliation of undiscounted cash flows to operating lease liability recognized in statement of financial position. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 6 -URI https://asc.fasb.org/extlink&oid=128292326&loc=SL77918701-209980 + Details
Name: | us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration