v3.22.2
Revenue (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2022
Jun. 30, 2021
Disaggregation of Revenue [Line Items]        
Total commissions and fees $ 232,460 $ 119,706 $ 475,308 $ 272,534
Direct Bill Revenue        
Disaggregation of Revenue [Line Items]        
Commissions and fees 93,534 50,358 225,194 144,863
Agency Bill Revenue        
Disaggregation of Revenue [Line Items]        
Commissions and fees 89,015 47,293 162,192 82,633
Profit Sharing Revenue        
Disaggregation of Revenue [Line Items]        
Commissions and fees 19,366 8,175 34,378 18,467
Consulting and Service Fee Revenue        
Disaggregation of Revenue [Line Items]        
Commissions and fees 12,188 7,570 26,525 14,577
Policy Fee and Installment Fee Revenue        
Disaggregation of Revenue [Line Items]        
Commissions and fees 13,419 4,792 19,127 9,268
Other Income        
Disaggregation of Revenue [Line Items]        
Commissions and fees $ 4,938 $ 1,518 $ 7,892 $ 2,726