Basis in land after home was destroyed
Would appreciate opinions on the following as I can't seem to find a clear answer:
Primary residence was destroyed in 2018. The basis was 150K (50K for land 100K for building/improvements)
Insurance proceeds for the building in the amount of 200K was received in 2018 and were used to buy a new home elsewhere. No gain was recognized due to primary residence exclusion.
In 2022 the vacant land was sold for 100K.
Insurance proceeds typically reduce basis, but since only the structure was insured does that mean that the land still has the 50K basis? Or is it 0 basis since the insurance proceeds> total basis of land + building? It seems like there is essentially two transactions with the first being for the involuntary sale of the building itself (destruction/insurance payout) and the second being for the sale of the land.