XML 144 R101.htm IDEA: XBRL DOCUMENT v3.20.4
Senior Facility - Schedule of Interest Expenses Recognized Related to Senior Facility (Detail) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Debt Instrument [Line Items]      
Contractual interest at Canadian prime plus 8.05% $ 1,643   $ 5,669
Amortization of discount on convertible notes 10,317 $ 9,843 $ 2,180
Senior Secured Term Loan Facility [Member]      
Debt Instrument [Line Items]      
Contractual interest at Canadian prime plus 8.05% 4,257    
Amortization of discount on convertible notes 1,372    
Total $ 5,629