Fair Value Measurements - Schedule of Assets and Liabilities at Fair Value on Recurring Basis (Detail) - USD ($) $ in Thousands | Jun. 30, 2023 | Dec. 31, 2022 | Jun. 30, 2022 | Dec. 31, 2021 |
Assets | | | | |
Assets held in rabbi trust | $ 10,365 | $ 9,553 | | |
Marketable debt securities, available-for-sale | 235,567 | 322,029 | | |
Liabilities: | | | | |
Contingent consideration | 6,518 | | $ 7,779 | |
Deferred consideration | 2,018 | 5,119 | | |
Deferred compensation liability | 8,086 | 6,661 | | |
Short-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 164,856 | 253,434 | | |
Long-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 70,711 | 68,595 | | |
U.S. treasuries | Short-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 65,495 | 134,549 | | |
U.S. treasuries | Long-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 17,409 | 20,715 | | |
U.S. government sponsored entities | Long-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 510 | 536 | | |
Corporate debt | Short-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 99,361 | 118,041 | | |
Corporate debt | Long-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 42,250 | 41,358 | | |
ABS and other | Short-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | | 844 | | |
ABS and other | Long-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 10,542 | 5,986 | | |
Recurring | | | | |
Assets | | | | |
Cash equivalents | 131,602 | 180,349 | | |
Recurring | Short-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 164,856 | 253,434 | | |
Recurring | Long-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 70,711 | 68,595 | | |
Recurring | Commercial paper | | | | |
Assets | | | | |
Cash equivalents | 50,191 | 41,324 | | |
Recurring | Money market funds | | | | |
Assets | | | | |
Cash equivalents | 81,411 | 139,025 | | |
Recurring | Assets held in rabbi trust | | | | |
Assets | | | | |
Assets held in rabbi trust | 10,365 | 9,553 | | |
Recurring | U.S. treasuries | Short-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 65,495 | 134,549 | | |
Recurring | U.S. treasuries | Long-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 17,409 | 20,715 | | |
Recurring | U.S. government sponsored entities | Long-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 510 | 536 | | |
Recurring | Corporate debt | Short-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 99,361 | 118,041 | | |
Recurring | Corporate debt | Long-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 42,250 | 41,358 | | |
Recurring | ABS and other | Short-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 0 | 844 | | |
Recurring | ABS and other | Long-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 10,542 | 5,986 | | |
Level 1 | Recurring | | | | |
Assets | | | | |
Cash equivalents | 81,411 | 139,025 | | |
Liabilities: | | | | |
Deferred consideration | 0 | 0 | | |
Deferred compensation liability | 8,086 | 6,661 | | |
Level 1 | Recurring | Short-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 65,495 | 134,549 | | |
Level 1 | Recurring | Long-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 17,409 | 20,715 | | |
Level 1 | Recurring | Commercial paper | | | | |
Assets | | | | |
Cash equivalents | 0 | 0 | | |
Level 1 | Recurring | Money market funds | | | | |
Assets | | | | |
Cash equivalents | 81,411 | 139,025 | | |
Level 1 | Recurring | Assets held in rabbi trust | | | | |
Assets | | | | |
Assets held in rabbi trust | 0 | 0 | | |
Level 1 | Recurring | U.S. treasuries | Short-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 65,495 | 134,549 | | |
Level 1 | Recurring | U.S. treasuries | Long-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 17,409 | 20,715 | | |
Level 1 | Recurring | U.S. government sponsored entities | Long-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 0 | 0 | | |
Level 1 | Recurring | Corporate debt | Short-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 0 | 0 | | |
Level 1 | Recurring | Corporate debt | Long-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 0 | 0 | | |
Level 1 | Recurring | ABS and other | Short-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 0 | 0 | | |
Level 1 | Recurring | ABS and other | Long-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 0 | 0 | | |
Level 2 | Recurring | | | | |
Assets | | | | |
Cash equivalents | 50,191 | 41,324 | | |
Liabilities: | | | | |
Deferred consideration | 2,018 | 5,119 | | |
Deferred compensation liability | 0 | 0 | | |
Level 2 | Recurring | Short-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 99,361 | 118,885 | | |
Level 2 | Recurring | Long-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 53,302 | 47,880 | | |
Level 2 | Recurring | Commercial paper | | | | |
Assets | | | | |
Cash equivalents | 50,191 | 41,324 | | |
Level 2 | Recurring | Money market funds | | | | |
Assets | | | | |
Cash equivalents | 0 | 0 | | |
Level 2 | Recurring | Assets held in rabbi trust | | | | |
Assets | | | | |
Assets held in rabbi trust | 10,365 | 9,553 | | |
Level 2 | Recurring | U.S. treasuries | Short-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 0 | 0 | | |
Level 2 | Recurring | U.S. treasuries | Long-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 0 | 0 | | |
Level 2 | Recurring | U.S. government sponsored entities | Long-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 510 | 536 | | |
Level 2 | Recurring | Corporate debt | Short-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 99,361 | 118,041 | | |
Level 2 | Recurring | Corporate debt | Long-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 42,250 | 41,358 | | |
Level 2 | Recurring | ABS and other | Short-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 0 | 844 | | |
Level 2 | Recurring | ABS and other | Long-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 10,542 | 5,986 | | |
Level 3 | Recurring | | | | |
Assets | | | | |
Cash equivalents | 0 | 0 | | |
Liabilities: | | | | |
Deferred consideration | 0 | 0 | | |
Deferred compensation liability | 0 | 0 | | |
Level 3 | Recurring | Short-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 0 | 0 | | |
Level 3 | Recurring | Long-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 0 | 0 | | |
Level 3 | Recurring | Commercial paper | | | | |
Assets | | | | |
Cash equivalents | 0 | 0 | | |
Level 3 | Recurring | Money market funds | | | | |
Assets | | | | |
Cash equivalents | 0 | 0 | | |
Level 3 | Recurring | Assets held in rabbi trust | | | | |
Assets | | | | |
Assets held in rabbi trust | 0 | 0 | | |
Level 3 | Recurring | U.S. treasuries | Short-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 0 | 0 | | |
Level 3 | Recurring | U.S. treasuries | Long-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 0 | 0 | | |
Level 3 | Recurring | U.S. government sponsored entities | Long-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 0 | 0 | | |
Level 3 | Recurring | Corporate debt | Short-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 0 | 0 | | |
Level 3 | Recurring | Corporate debt | Long-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 0 | 0 | | |
Level 3 | Recurring | ABS and other | Short-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 0 | 0 | | |
Level 3 | Recurring | ABS and other | Long-term investments: | | | | |
Assets | | | | |
Marketable debt securities, available-for-sale | 0 | 0 | | |
Contingent consideration | | | | |
Liabilities: | | | | |
Contingent consideration | 6,518 | 7,067 | | $ 9,312 |
Contingent consideration | Level 1 | Recurring | | | | |
Liabilities: | | | | |
Contingent consideration | 0 | 0 | | |
Contingent consideration | Level 2 | Recurring | | | | |
Liabilities: | | | | |
Contingent consideration | 0 | 0 | | |
Contingent consideration | Level 3 | | | | |
Liabilities: | | | | |
Contingent consideration | $ 6,518 | $ 7,067 | | |