Immune checkpoint inhibitor-induced thyroiditis is a risk factor for acute and chronic kidney dysfunction.