Fair value measurements - Summary of Warrants (Detail) - USD ($) |
3 Months Ended | 6 Months Ended | ||||
---|---|---|---|---|---|---|
Jun. 30, 2021 |
Mar. 31, 2021 |
Jun. 30, 2020 |
Mar. 31, 2020 |
Jun. 30, 2021 |
Jun. 30, 2020 |
|
Class of Warrant or Right [Line Items] | ||||||
Change in fair value of warrant liability | $ 899,000 | $ 9,014,125 | $ 11,620,500 | $ 3,620,625 | ||
Private Placement | ||||||
Class of Warrant or Right [Line Items] | ||||||
Beginning Balance | 19,730,250 | $ 12,487,500 | 5,661,000 | $ 7,575,750 | 12,487,500 | 7,575,750 |
Change in fair value of warrant liability | 582,750 | 7,242,750 | 3,163,050 | (1,914,750) | ||
Ending Balance | 20,313,000 | 19,730,250 | 8,824,500 | 5,661,000 | 20,313,000 | 8,824,500 |
Public Warrants | ||||||
Class of Warrant or Right [Line Items] | ||||||
Beginning Balance | 26,723,125 | 23,244,375 | 10,752,500 | 14,231,250 | 23,244,375 | 14,231,250 |
Change in fair value of warrant liability | 316,250 | 3,478,750 | (5,850,625) | (3,478,750) | ||
Ending Balance | 27,039,375 | 26,723,125 | 16,603,125 | 10,752,500 | 27,039,375 | 16,603,125 |
Warrant | ||||||
Class of Warrant or Right [Line Items] | ||||||
Beginning Balance | 46,453,375 | 35,731,875 | 16,413,500 | 21,807,000 | 35,731,875 | 21,807,000 |
Change in fair value of warrant liability | 899,000 | 10,721,500 | (5,393,500) | (3,620,625) | ||
Ending Balance | $ 47,352,375 | $ 46,453,375 | $ 25,427,625 | $ 16,413,500 | $ 47,352,375 | $ 25,427,625 |