Related party transactions - Summary of Related Party Transactions (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2022
Mar. 31, 2021
Dec. 31, 2021
Related Party Transaction [Line Items]      
Net premiums written [1] $ 95,666 $ 107,992  
Premiums retained by agents [2] 60,602 70,338  
Net receivables 12,496   $ 15,498
Lennar | Affiliated Entity      
Related Party Transaction [Line Items]      
Net premiums written 27,668 24,650  
Premiums retained by agents 22,460 $ 19,884  
Net receivables $ 3,549   $ 3,883
[1] Net premiums written includes revenues from a related party of $27.7 million and $24.7 million during the three months ended March 31, 2022 and 2021, respectively (see Note 11).
[2] Premiums retained by Third-Party Agents includes expenses associated with a related party of $22.5 million and $19.9 million during the three months ended March 31, 2022 and 2021, respectively (see Note 11).