They refused to replace it for quite a while and just recently agreed to replace it, but that was a week ago. It’s been a brutal customer service experience. It got 2 new logic boards while they tried to track down the problem.
At this point I still don’t know when I’ll have a working display in my possession.
Did you buy it from Apple directly, or a retailer?
If from Apple, you may consider a chargeback. Or suggest that you'll do a chargeback if they don't refund you when you next check on the status of the replacement.
I would probably recommend the small-claims court first (assuming that's a thing where you live). If you issue a chargeback, Apple isn't constrained by any code of conduct, and could retaliate by deactivating your Apple ID or refusing to sell you anything in the future, or...
But if you get a court order for Apple to take some specific action (like a refund), I'd think they'd be less likely to retaliate since you could presumably bring another (legal) case against them that their retaliation was shady.
Then again, I don't know about laws where you live, so maybe this isn't a consideration.
At this point I still don’t know when I’ll have a working display in my possession.