| Disaggregation of Revenue | Revenues by customer for our each of our operating segments for the three and six months ended June 30, 2022 were as follows (in thousands): 
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
|  |  | Three months ended June 30, 2022 |  
|  |  | Aviation |  | Fleet |  | Federal and Defense |  | Total |  
| Commercial |  | $ | 103,349 |  |  | $ | 26,007 |  |  | $ | 166 |  |  | $ | 129,522 |  |  
| DoD |  | — |  |  | 1,264 |  |  | 59,260 |  |  | 60,524 |  |  
| Other government |  | 1,670 |  |  | 37,471 |  |  | 12,526 |  |  | 51,667 |  |  
| Total |  | $ | 105,019 |  |  | $ | 64,742 |  |  | $ | 71,952 |  |  | $ | 241,713 |  | 
 
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
|  |  | Six months ended June 30, 2022 |  
|  |  | Aviation |  | Fleet |  | Federal and Defense |  | Total |  
| Commercial |  | $ | 195,261 |  |  | $ | 53,863 |  |  | $ | 258 |  |  | $ | 249,382 |  |  
| DoD |  | — |  |  | 2,993 |  |  | 109,655 |  |  | 112,648 |  |  
| Other government |  | 3,048 |  |  | 74,916 |  |  | 32,958 |  |  | 110,922 |  |  
| Total |  | $ | 198,309 |  |  | $ | 131,772 |  |  | $ | 142,871 |  |  | $ | 472,952 |  | 
 Revenues by customer for our each of our operating segments for the three and six months ended June 30, 2021 were as follows (in thousands): 
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
|  |  | Three months ended June 30, 2021 |  
|  |  | Aviation |  | Fleet |  | Federal and Defense |  | Total |  
| Commercial |  | $ | 47,465 |  |  | $ | 17,630 |  |  | $ | 185 |  |  | $ | 65,280 |  |  
| DoD |  | — |  |  | 4,676 |  |  | 62,075 |  |  | 66,751 |  |  
| Other government |  | 50 |  |  | 35,751 |  |  | 7,280 |  |  | 43,081 |  |  
| Total |  | $ | 47,515 |  |  | $ | 58,057 |  |  | $ | 69,540 |  |  | $ | 175,112 |  | 
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
|  |  | Six months ended June 30, 2021 |  
|  |  | Aviation |  | Fleet |  | Federal and Defense |  | Total |  
| Commercial |  | $ | 91,811 |  |  | $ | 32,067 |  |  | $ | 503 |  |  | $ | 124,381 |  |  
| DoD |  | — |  |  | 7,778 |  |  | 104,861 |  |  | 112,639 |  |  
| Other government |  | 75 |  |  | 72,959 |  |  | 30,039 |  |  | 103,073 |  |  
| Total |  | $ | 91,886 |  |  | $ | 112,804 |  |  | $ | 135,403 |  |  | $ | 340,093 |  | 
 
Revenues by type for our each of our operating segments for the three and six months ended June 30, 2022 were as follows (in thousands): 
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
|  |  | Three months ended June 30, 2022 |  
|  |  | Aviation |  | Fleet |  | Federal and Defense |  | Total |  
| Repair |  | $ | 25,966 |  |  | $ | — |  |  | $ | — |  |  | $ | 25,966 |  |  
| Distribution |  | 79,053 |  |  | 64,742 |  |  | — |  |  | 143,795 |  |  
| Cost Plus Contract |  | — |  |  | — |  |  | 34,555 |  |  | 34,555 |  |  
| Fixed Price Contract |  | — |  |  | — |  |  | 22,278 |  |  | 22,278 |  |  
| T&M Contract |  | — |  |  | — |  |  | 15,119 |  |  | 15,119 |  |  
| Total |  | $ | 105,019 |  |  | $ | 64,742 |  |  | $ | 71,952 |  |  | $ | 241,713 |  |  
 
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
|  |  | Six months ended June 30, 2022 |  
|  |  | Aviation |  | Fleet |  | Federal and Defense |  | Total |  
| Repair |  | $ | 48,329 |  |  | $ | — |  |  | $ | — |  |  | $ | 48,329 |  |  
| Distribution |  | 149,980 |  |  | 131,772 |  |  | — |  |  | 281,752 |  |  
| Cost Plus Contract |  | — |  |  | — |  |  | 65,132 |  |  | 65,132 |  |  
| Fixed Price Contract |  | — |  |  | — |  |  | 40,639 |  |  | 40,639 |  |  
| T&M Contract |  | — |  |  | — |  |  | 37,100 |  |  | 37,100 |  |  
| Total |  | $ | 198,309 |  |  | $ | 131,772 |  |  | $ | 142,871 |  |  | $ | 472,952 |  | 
 Revenues by type for our each of our operating segments for the three and six months ended June 30, 2021 were as follows (in thousands):  
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
|  |  | Three months ended June 30, 2021 |  
|  |  | Aviation |  | Fleet |  | Federal and Defense |  | Total |  
| Repair |  | $ | 19,021 |  |  | $ | — |  |  | $ | — |  |  | $ | 19,021 |  |  
| Distribution |  | 28,494 |  |  | 58,057 |  |  | — |  |  | 86,551 |  |  
| Cost Plus Contract |  | — |  |  | — |  |  | 21,813 |  |  | 21,813 |  |  
| Fixed Price Contract |  | — |  |  | — |  |  | 32,430 |  |  | 32,430 |  |  
| T&M Contract |  | — |  |  | — |  |  | 15,297 |  |  | 15,297 |  |  
| Total |  | $ | 47,515 |  |  | $ | 58,057 |  |  | $ | 69,540 |  |  | $ | 175,112 |  | 
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
|  |  | Six months ended June 30, 2021 |  
|  |  | Aviation |  | Fleet |  | Federal and Defense |  | Total |  
| Repair |  | $ | 37,337 |  |  | $ | — |  |  | $ | — |  |  | $ | 37,337 |  |  
| Distribution |  | 54,549 |  |  | 112,804 |  |  | — |  |  | 167,353 |  |  
| Cost Plus Contract |  | — |  |  | — |  |  | 38,364 |  |  | 38,364 |  |  
| Fixed Price Contract |  | — |  |  | — |  |  | 56,361 |  |  | 56,361 |  |  
| T&M Contract |  | — |  |  | — |  |  | 40,678 |  |  | 40,678 |  |  
| Total |  | $ | 91,886 |  |  | $ | 112,804 |  |  | $ | 135,403 |  |  | $ | 340,093 |  |  |